Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: ssh remote command fuser does not work |
|---|---|
| Date: | Tue, 10 Aug 2004 13:19:00 -0400 |
Have you tried quoting it? ie: ssh userid@sol8 'fuser blah' jpiszcz@slack91:~$ ssh -p 22 localhost 'ls -l test' jpiszcz@localhost's password: total 4 drwxr-xr-x 2 jpiszcz wheel 4096 Aug 10 13:11 a -rw-r--r-- 1 jpiszcz wheel 0 Aug 10 13:11 b jpiszcz@slack91:~$ -----Original Message----- From: Swift, Louise [mailto:louise.swift@hants.gov.uk] Sent: Monday, August 09, 2004 11:14 AM To: secureshell@securityfocus.com Subject: ssh remote command fuser does not work Cannot get remote command fuser to work (although other commands ok) - keep getting select: Bad file number' I've set up public/private key authentication between a Solaris 9 system running SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. and a Soalris 8 system running OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004 I've got ssh and sftp and scp finally to work, but I am left with one problem, I can use ssh from sol9 to sol8 to start a remote session. I can ssh from sol9 to sol8 to execute some remote commands, but not fuser i.e. all from the solaris 9 system ssh userid@anothersol9 ls works fine ssh userid@anothersol9 fuser afile works fine ssh userid@sol8 ls works fine ssh userid@sol8 fuser afile fails, I get select: Bad file number Having seen this type of message before when it was to do with paths, I have tried the following... created a logical link from /usr/bin/fuser to the /usr/sbin/bin/fuser , still got the same 'select: Bad file number' created a test file in the home directory of the userid on the sol8 (server) system and tried ssh userid@sol8 ./test and it worked ok, so I tried creating a logical link from the home directory of userid on sol8 called fuser poining to /usr/sbin/fuser and tried again ssh userid@sol8 ./fuser a file and it still failed with 'select: Bad file number' . I even tried copying fuser to home directory of userid on sol8 , and even though ssh userid@sol8 ./test works , ssh userid@sol8 ./fuser afile still fails I'm really stuck , any help/hints gratefully received
Louise Swift IT Services (rm 415) Hampshire County Council Elizabeth II Court, The Castle, Winchester, Hants SO23 8US Tel: +44 (0)1962 847427 Fax: +44 (0)1962 847434 HPSN: 200 7427
Louise.Swift@hants.gov.uk
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Restrict commands for all users, Chris Jensen |
|---|---|
| Next by Date: | Idle timeout, Rushton, Mike |
| Previous by Thread: | ssh remote command fuser does not work, Swift, Louise |
| Next by Thread: | ACL problems, any suggestions would be great, Bryan Loniewski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |