1 |
On Monday, 11 March 2019 05:41:19 GMT Philip Webb wrote: |
2 |
|
3 |
[snip ...] |
4 |
> However, I've tried to insert an instruction in config files, |
5 |
> but nothing changes after a reboot. |
6 |
> I've tried adding to ~/.ssh/config & /etc/ssh/ssh_config : |
7 |
> |
8 |
> Host 128.100.160.1 |
9 |
> KexAlgorithms +diffie-hellman-group1-sha1 |
10 |
> |
11 |
> That is what seems to be required by 'man 5 ssh_config'. |
12 |
> |
13 |
> Can anyone suggest what + where to tell Ssh to do it every time ? |
14 |
|
15 |
You probably have more than one User and identity file and you could define |
16 |
them both in .ssh/config to make sure the correct user is invoked, without |
17 |
having to add it to the CLI: |
18 |
|
19 |
Host 128.100.160.1 |
20 |
User my_remote_ssh_user |
21 |
IdentityFile /home/<username>/.ssh/id_rsa |
22 |
KexAlgorithms +diffie-hellman-group1-sha1 |
23 |
|
24 |
-- |
25 |
Regards, |
26 |
Mick |