Tag Info

New answers tagged

2

Subsystem sftp intenal-sftp Should be "internal".


0

I had a similar problem and wrote a wrapper around SSH to verify if the host was up or not using nc - https://github.com/cws-khuntly/dotfiles/blob/master/functions.d/F09-network Have a look at validateServerAvailability. Hope it helps.


3

The Host directive can take multiple hosts, for example: Host *.domain.tld specific-host.tld 10.*.*.* User foo Port 2222 This would set user and port for all hosts matching the star pattern, the explicit host specific-host.tld, or, assuming you type IP numbers, any host whose first IPv4 byte is 10. Then you can add Host / HostName pairs to give nicknames ...



Top 50 recent answers are included