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]Re: [tlug] SSH set up issues
- Date: Wed, 7 May 2025 08:39:10 +0100
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] SSH set up issues
- References: <6262b80d-3c62-40e9-bd0f-24ba013d7560@l.u-tokyo.ac.jp>
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.Embrace short names in .ssh/config for all your ssh servers. They work with rsync too. And then scripts keep working when IP addresses or ports or keys change.But I did a quick test and you can have the IP address as the Host, so it can be:Host 192.1.2.3 HostName 192.1.2.3 HostKeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsaThat is going to be confusing to troubleshoot at some point in the future though ;-)rsync -uvptlW -e ssh $winD/docs/web/dicts/dealt/*.xml acmull5@192...:/dicts/dealt/Given your original .ssh/config entry, this ought to work: rsync -uvptlW /path/to/*.xml linserv:/dicts/dealt/(I've not used the `-e ssh` bit for years, so I think it might have become the default?)Darren
- Follow-Ups:
- Re: [tlug] SSH set up issues
- From: Curt J. Sampson
- References:
- [tlug] SSH set up issues
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: [tlug] SSH set up issues
- Next by Date: [tlug] SSH set up issues
- Previous by thread: [tlug] SSH set up issues
- Next by thread: Re: [tlug] SSH set up issues
- Index(es):