Jei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
PrisijungtiRegistruotisJei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
ssh-keygen -f ~/.ssh/id_rsa -q -P ""
cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAoDJN1oHcQT0CZxdj4zm8A4Q6cmIhFWswGrl1tvo+AumDeZgKRFuh9R4hFlvu7Il4PQTlpR0OWGr1dFcxHsHXGaySRtGqfsdI5vBh1HbFZcc2nzi++v6IHaCW6QdDvs3h2P5FIOewRjehvN5b8HvBY9JZkDbp+UgjVI+wZANZCrgTBhVTUUNt9uIkidpAtFFl899S1rP3cHuU05V0ts9cyol+LZLVUtNysxVn8a8EILIdt5AoKuYPQqML3adUecoN4r06OLH4O3bm4qAlUN3in8RMCXK1EJXs4AC3kC+EBPnUSLo7ig6lbjpgGc8Eogor8gLgTSotuxHcKiZVY0WlwQ== root@serveris
mkdir ~/.ssh
chmod 0700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 0644 ~/.ssh/authorized_keys
rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress /root/testinis_failas.txt 2.2.2.2:/root/
rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress /root/testinis_failas.txt vartotojas@2.2.2.2:/