Re: Question about ssh no login
On Apr 28, 9:01 am, sk8terg1rl <sk8terg1rl_2...@xxxxxxxxxxx> wrote:
How do I run commands in the remote machine from the local machine's
bash?
I tried a simple script on the local machine containing "ssh
remotemach...@xxxxxxxxxxxxxxx; ls; exit". It logs in fine but ignores
Try encasing your remote command in single quotes, like
ssh user@remotehost 'ls -l /'
A decent site with other ssh tricks is
http://en.jakilinux.org/apps/ssh-tricks/
.
Relevant Pages
- Re: exit status of remote commands
... I want to execute some commands on a remote machine through ssh and ... (comp.lang.perl.misc) - Tunnel X over ssh
... I have a remote machine with an ssh server installed. ... On the local machine I run $ xinit to get an xterm window. ... In spite of all the "error" messages, I now have GNOME running on the ... (comp.os.linux.networking) - Re: Tunnel X over ssh
... I have a remote machine with an ssh server installed. ... On the local machine I run $ xinit to get an xterm window. ... In spite of all the "error" messages, I now have GNOME running on the ... (comp.os.linux.networking) - Re: rsh and ssh commands
... you can't tunnel X through rsh like you can through ssh. ... So enable X to connect to your local machine; ... environment variable on the remote machine; and fire up your X application. ... (comp.os.linux.misc) - Re: exit status of remote commands
... I want to execute some commands on a remote machine through ssh and ... (comp.lang.perl.misc) |
|