Categories
Uncategorized

a start job is running for raise network interfaces

1.- edit, then reboot
[su_note]  /etc/systemd/system/network-online.targets.wants/networking.service [/su_note]
change timeout from 5 min to 1min
[su_note] TimeoutStartSec=5min [/su_note]

Categories
Uncategorized

Passwordless ssh login to a server

1.- on the client side, generate the public ssh key
Press enter at each prompt.
[su_note]ssh-keygen[/su_note]

2.- Transfer pub key to remote server
[su_note]ssh-copy-id -i ~/.ssh/id_rsa.pub username@remotehost [/su_note]

3.- now test, it, from the client side

[su_note] ssh username@remote [/su_note]
or if the username on the remote server is the same as the username on the client side, use
[su_note]ssh remoteserver [/su_note]