LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] wierd ssh thing

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell