
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] SSH set up issues
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-rsa
That 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
Home |
Main Index |
Thread Index