Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Ssh problem : half-solved
Date: Mon, 11 Mar 2019 08:31:01
Message-Id: 4709101.aS6UuVYvj9@dell_xps
In Reply to: Re: [gentoo-user] Ssh problem : half-solved by Philip Webb
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

Attachments

File name MIME type
signature.asc application/pgp-signature