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

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
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 13:52:30 GMT 2001


 And, a wierder ssh thing;


[netsaint at angel netsaint]$ ssh -l root evilxander df
[netsaint at angel netsaint]$ ssh -l root evilxander 'df'
[netsaint at angel netsaint]$ ssh -l root evilxander 'df 1>&1'
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda5              4134900   1396788   2528064  36% /
/dev/hda1                46636      3821     40407   9% /boot
/dev/hda6              4134900   1210756   2714096  31% /mnt/a
/dev/hda7              4134900        20   3924832   1% /mnt/b
[netsaint at angel netsaint]$ ssh -l root evilxander bash
echo hello
hello
ls
Maildir
courier.tgz
database.tgz
postfix-20010204.tar.gz
snapshot-20010204

 So, why doesn't df print anything to stdout, by default ? Why does it
have to be forced ? I'm trying to work out why netsaint won't ssh to
machines to run monitoring commands, and instead gives crap errors like -

    You have no controlling tty. Cannot read passphrase. 

 - when it shouldn't need one (as shown above, it'll ssh in fine..)

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