[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gNewSense-users] SSH: HostKey vs. AuthorizedKeysFile
From: |
Stayvoid |
Subject: |
Re: [gNewSense-users] SSH: HostKey vs. AuthorizedKeysFile |
Date: |
Sat, 31 Mar 2012 06:15:06 +0400 |
>> I have this fragment in ~/.ssh/config:
>>
>> Host parabola
>> Port 1863
>> HostName repo.parabolagnulinux.org
>> User repo
>> IdentityFile ~/.ssh/id_rsa
>>
>> If I don't specify the username@ prefix when connecting to parabola,
>> it will connect as user "repo" (by default the local user name is
>> used).
>
> Using .ssh/config is good advice, and I'd definitely suggest you try it
> out. I've got ~15 different Host entries, some of which contain
> wildcards (eg *.gnewsense.org). Helps if any defaults need setting, or
> if you want to use rsync over ssh.
Should it be configured on the client side?
There is another issue.
For some reason I have no ability to use sudo when I'm using SSH.
sudo is installed and I'd added the following via visudo:
username ALL=(ALL) ALL
Is it connected with SSH settings (PermitRootLogin no etc.)?
I doubt so, but who knows.
(I used passwd to set the root password.)