Mailing List Archive
tlug.jp Mailing List
tlug archive
tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] SSH set up issues
- Date: Wed, 7 May 2025 15:54:12 +0900
- From: Charles Muller <acmuller@example.com>
- Subject: [tlug] SSH set up issues
- User-agent: Mozilla Thunderbird
TLUGers,For the first time in many years, I am setting up SSH on a fresh install of Linux. I have installed Ubuntu 24, and the server I am connecting to is running on CentOS 6. I have a couple of older machines around me that are SSHing to it with no problem. But when I try to do SSH from this new install (after generating a key), I get the following error message:~$ ssh acmull5@192... Unable to negotiate with 192… port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dssI tried copying my settings from the older machines, but got the same result.Based on various suggestions I found on the web, I was able to work around it by inserting the following text in .ssh/config:Host linserv HostName 192….. User acmull5 HostKeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa So I now I can log on with: ssh linserv…but I would prefer to be able to log on with my original method of SSH followed by the actual server address number. I want to keep consistency among my machines, and I also need to log on from inside of other programs such as rsync.Example:rsync -uvptlW -e ssh $winD/docs/web/dicts/dealt/*.xml acmull5@192...:/dicts/dealt/So I have two questions:(1) is there a way I can configure SSH so that I can log in with just the number rather than a variable?(2) If that is not possible, is there a way I can encode my rsync scripts to use the variable name instead of the actual numerical code?Regards, Chuck
- Follow-Ups:
- Re: [tlug] SSH set up issues
- From: Darren Cook
- [tlug] SSH set up issues
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Next by Date: Re: [tlug] SSH set up issues
- Next by thread: Re: [tlug] SSH set up issues
- Index(es):