[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] where is /bin/bash started? WAS: backing-up using rsync+ssh



> I've really done my research on this and am ready to set my servers up!
> However, I need to find the "magic" file to insert the follorwing command:
> 
> ssh-agent $SHELL
> 
> I am setting up an ssh1 authentication without password. I saw others who
> were suggesting not using a passphrase, but I felt that was just too
> unsecure. In order to authenticate without a password or passphrase you have
> to run the shell withing ssh-agent. All the documentation that I have read
> has been little help in figuring out where to launch this.
> 

Why do you ask where is it started?
You would use it in a script, just like you use any shell.

#!/bin/bash
Or
SHELL=/bin/bash

It's in the /bin directory /bin/bash

Gerald