Re: Question about ssh no login
- From: "Robert M. Riches Jr." <spamtrap42@xxxxxxxxxxx>
- Date: Sat, 28 Apr 2007 00:19:26 GMT
On 2007-04-28, sk8terg1rl <sk8terg1rl_2006@xxxxxxxxxxx> wrote:
Hi group,
I've implemented ssh no logins between 2 computers. Basically it
involved generating a public & private key pair with no passphrase and
appending the public keys to "authorized_hosts2" in the ".ssh" folder
for either machine.
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
remotemachine@xxxxxxxxxxxxxxx; ls; exit". It logs in fine but ignores
the rest of the script.
Any input please?
Of course, if all you're wanting to do on the remote machine
is one command, then just do
ssh remotemachine@xxxxxxxxxxxxxxx ls
--
Robert Riches
spamtrap42@xxxxxxxxxxx
(Yes, that is one of my email addresses.)
.
- Prev by Date: Re: Question about ssh no login
- Next by Date: Re: Question about ssh no login
- Previous by thread: Re: Question about ssh no login
- Next by thread: Re: Question about ssh no login
- Index(es):
Relevant Pages
|