Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
ssh and program execution on remote
Name: lpe404 Date: October 12, 2002 at 16:02:11 Pacific OS: mandrake 9.0 CPU/Ram: 333/256
Comment:
I'm ssh'ing from my linux machine to a Solaris network with the following command: ssh -lusername remotemachine
I can logon just fine and run any unix commands fine (i.e. ls, cd, etc). However, I cannot execute any programs I know are on the remote unix machine. For example, there is a program on the remote unix machine called foo that I know exists (and I can see it if I do and ls and the file permissions are rwxrwxrwx), however when I type foo on the command line to execute it, I get "Command not found." Am I missing a flag on the ssh command or a configuration file somewhere?
Name: Lawrence Date: October 12, 2002 at 16:07:41 Pacific
Reply:
How about if you change to where "foo" is and run
./foo
Lawrence
0
Response Number 2
Name: David Perry Date: October 12, 2002 at 17:48:27 Pacific
Reply:
What Lawrence is saying is that for security reasons the current directory is not included in your path. If it was some intruder my place a malicious executable with the same name as a system executable in a directory other than what is in your path and you could be tricked in to running it. Don't change your path. If you need to execute something outside of the normal directories ./executable .
Summary: How do I enable ssh and/or telnet for remote access to my machine. I have already set up the network configurations and can access the internet. I can't seem to connect to the machine from outside...
Summary: I'm finally warming up to linux, althogh to be honest i don't feel as comfortable with it as with windowz. It is a bit of a culture shock to go from beign able to do anything in one OS to being a help...