yo. I'm trying out the ssh port forwarding today. after beating my head against the wall a while (I forgot which machine the 'host' part of the port:host:port syntax specifies) it's working fine. I'm surprised though that it appears I cannot run this command in the background... and that an interactive ssh session appears to be bound to the forwarded port.
[EMAIL PROTECTED] root]# ssh -l barista -L 9000:localhost:9000 123.456.789.123 Last login: Sun May 22 15:00:00 2005 from 899289.dsl.renocs.nvbell.net [EMAIL PROTECTED]:~$ I wind up logged in at bast, as you see. If I attempt to run it in the background [EMAIL PROTECTED] root]# ssh -l barista -L 9000:localhost:9000 123.456.789.123 & [1] 4612 [EMAIL PROTECTED] root]# [1]+ Stopped ssh -l barista -L 9000:localhost:9000 123.456.789.123 [EMAIL PROTECTED] root]# The backgrounded ssh process gets the stop signal and doesn't pass traffic, until I foreground it and get the login again. everything I've tried so far doesn't help. (nohup, the ~^Z escape sequence) is there anyway to tell ssh to just forward the ports and run like a daemon? Thanks, - Ben _______________________________________________ RLUG mailing list [email protected] http://lists.rlug.org/mailman/listinfo/rlug
