Secure shell connections.
- Posts: 30
- Joined: 11 Sep 2012 19:37
I need to be able to automate SSH unprompted from the most recent build into a much older build.
I have imported the authorized key but get this when trying to login to the old box;
Code: Select all
Unable to negotiate with 192.168.1.30 port 22: no matching host key type found. Their offer: ssh-dss
I know I can add "HostKeyAlgorithms=+ssh-dss" to the new box ssh config and probably need a script to do this at startup.
Is there any way to do this via GUI that remains permanent in embedded?
- Advanced User
- Posts: 286
- Joined: 23 Mar 2014 02:58
- Location: UK
This answer https://askubuntu.com/questions/836048/ ... er-ssh-dss
might be of use. It says to use "your" ~/.ssh/config . I couldn't find such file for my user and I don't like using root for automation, instead I put my rsa files like keys, .pub , etc in a permanent location and reference them. So I think you could try creating that config file in a permanent location.
Main: Xigmanas 18.104.22.168 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT