Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Super Moderator
Location: Lutherstadt Wittenberg
Occupation: Anlagenmechaniker
wcf.user.option.userOption53: Ja
Super Moderator
Location: Lutherstadt Wittenberg
Occupation: Anlagenmechaniker
wcf.user.option.userOption53: Ja
Super Moderator
Location: Lutherstadt Wittenberg
Occupation: Anlagenmechaniker
wcf.user.option.userOption53: Ja
Key´s Generierst du aufm NAS mittels Console so:
ssh-keygen -t rsa
cd .ssh
cat id_rsa.pub >> authorized_keys
Die "id_rsa.pub" kopierst du auf den Root und baust ein Script mit dem Keyfile
MfG
Super Moderator
Location: Lutherstadt Wittenberg
Occupation: Anlagenmechaniker
wcf.user.option.userOption53: Ja
Ich hoffe das war nur ein Schreibfehler. Root agiert hier beim Push als Klient.Quoted
Die "id_rsa.pub" kopierst du auf den Root und baust ein Script mit dem Keyfile
Super Moderator
Location: Lutherstadt Wittenberg
Occupation: Anlagenmechaniker
wcf.user.option.userOption53: Ja
Super Moderator
Location: Österreich
Occupation: IT Systemadministrator
wcf.user.option.userOption53: Ja
Source code |
|
1 |
rsync -e 'ssh -i pfad/mein/privatekey' sync/datei admin@synology:Pfad/wohin/ |
Source code |
|
1 2 3 4 5 6 7 |
Host example.com IdentityFile ~/.ssh/example.com.key Host example.net IdentityFile ~/.ssh/example.net.key ... |
This post has been edited 4 times, last edit by "MadMakz" (Sep 17th 2015, 9:38pm)
Source code |
|
1 |
ssh-keygen -t rsa -f $HOME/.ssh/nas_key_rsa |
Source code |
|
1 |
ssh-copy-id -i $HOME/.ssh/nas_key_rsa.pub root@IP_DES_ROOTS |
Source code |
|
1 |
ssh -i $HOME/.ssh/nas_key_rsa root@IP_DES_ROOTS |
Source code |
|
1 |
rsync <rsyncparameter> -e "ssh -i $HOME/.ssh/nas_key_rsa" root@IP_DES_ROOT:/PFAD_IM_ROOT PFAD_IM_NAS |
This post has been edited 4 times, last edit by "Impact" (Sep 18th 2015, 5:44pm)
Super Moderator
Location: Lutherstadt Wittenberg
Occupation: Anlagenmechaniker
wcf.user.option.userOption53: Ja
Source code |
|
1 |
ssh-copy-id -i $HOME/.ssh/nas_key_rsa.pub root@IP_DES_ROOTS |
Administrator
Location: Hagen
Occupation: Mechatroniker (didaktische Systeme)
wcf.user.option.userOption53: Nein