Greg Wooledge(wooledg@eeg.ccf.org)@Wed, Nov 27, 2002 at 11:58:56AM -0500:
> On Tue, Nov 26, 2002 at 10:37:42AM -0800, Caleb Phillips wrote:
ssh -f or -n, anyone?
-n Redirects stdin from /dev/null (actually, prevents reading from
stdin). This must be used when ssh is run in the background. A
common trick is to use this to run X11 programs on a remote
machine. For example, ssh -n shadows.cs.hut.fi emacs & will
start an emacs on shadows.cs.hut.fi, and the X11 connection will
be automatically forwarded over an encrypted channel. The ssh
program will be put in the background. (This does not work if
ssh needs to ask for a password or passphrase; see also the -f
option.)
-f Requests ssh to go to background just before command execution.
This is useful if ssh is going to ask for passwords or
passphrases, but the user wants it in the background. This
implies -n. The recommended way to start X11 programs at a
remote site is with something like ssh -f host xterm.
--
Bill Weiss
Received on Mon Dec 2 10:03:33 2002
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 14:02:51 EDT
|