[ILUG] wierd ssh thing
John P . Looney
john at antefacto.com
Sat Feb 24 15:13:38 GMT 2001
On Sat, Feb 24, 2001 at 02:51:19PM -0000, Tarlach mentioned:
> > [netsaint at angel netsaint]$ ssh -l root evilxander df
> The above should work as expected ...
As in, print nothing ?
> > [netsaint at angel netsaint]$ ssh -l root evilxander 'df 1>&1'
> If this works but the others don't then your stdout
> has been redirected somewhere else, I'd diff your
> ssh config files with the defaults to see what you've
> done differently, especially the /etc/sshrc .ssh/rc
> files which could be doing something weird.
>
> Also the -t option can be useful in some cases, eg:
> tarlach at freebsd tarlach$ ssh linux bash
> echo test
> test
> tarlach at freebsd tarlach$ ssh -t linux bash
> tarlach at linux tarlach$ echo test
> test
> tarlach at linux tarlach$ exit
> Connection to linux closed.
> tarlach at freebsd tarlach$
OK, that looks sane. Maybe by default, when you are running a command, it
doesn't allocate a proper terminal. That makes me happy.
> ... also remember Glen says to stop playing :)
<grin> Hey, it's better than playing Unreal Tournament!
Kate
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
More information about the ILUG
mailing list