[CentOS] scp and key login

Tony Schreiner schreian at bc.edu
Wed Oct 1 15:37:05 UTC 2008


On Oct 1, 2008, at 11:31 AM, Kai Schaetzl wrote:

> Tony Schreiner wrote on Wed, 1 Oct 2008 11:01:23 -0400:
>
>> ssh-agent $SHELL
>>
>> which will not need the above step, but will start another shell, so
>> you will need to exit twice to logout.
>
> This works, thanks. There's nothing of that mentioned in man ssh- 
> agent.
> That also means I have to execute ssh-agent $SHELL and ssh-add each  
> time I
> login and want to use forwarding, right?
>>

As far as I know that's right. Though it can be scripted into your  
login.
Tony



More information about the CentOS mailing list