Koozali.org: home of the SME Server

help Backup configuration and status .ssh/authorized_keys

Offline mgb

  • *****
  • 558
  • +0/-0
help Backup configuration and status .ssh/authorized_keys
« on: October 25, 2007, 09:15:43 AM »
help Backup configuration and ssh  copy from my server1.same7  to my server1.same7 ?
 
sync -r -e ssh --delete dummy@mycomputer.mycompany.com:/home/dummy/mail /backups/mail

 $ ssh-keygen -b 1024 -t rsa -f /home/username/.ssh/id_rsa
    (do not enter a pass-phrase - leave it blank)
    $ scp /home/username/.ssh/id_rsa.pub username@mycomputer.mycompany.com:/home/username/.ssh/authorized_keys



     http://wiki.contribs.org/SSH_Public-Private_Keys
Thanks all for helping
Skype yosii2009

Offline mgb

  • *****
  • 558
  • +0/-0
Re: help Backup configuration and status .ssh/authorized_keys
« Reply #1 on: October 25, 2007, 09:48:18 AM »
help Backup configuration and ssh  copy from my server1.same7  to my server1.same7 ?
 
sync -r -e ssh --delete dummy@mycomputer.mycompany.com:/home/dummy/mail /backups/mail

 $ ssh-keygen -b 1024 -t rsa -f /home/username/.ssh/id_rsa
    (do not enter a pass-phrase - leave it blank)
    $ scp /home/username/.ssh/id_rsa.pub username@mycomputer.mycompany.com:/home/username/.ssh/authorized_keys



new uses in sme- server-manager   dummy
login ssh root

# ssh-keygen -b 1024 -t rsa -f /home/e-smith/files/users/dummy/.ssh/id_rsa                           Generating public/private rsa key pair.
/home/e-smith/files/users/dummy/.ssh/id_rsa
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/e-smith/files/users/dummy/.ssh/id_rsa.
Your public key has been saved in /home/e-smith/files/users/dummy/.ssh/id_rsa.pub.
The key fingerprint is:
de:af:6d:b4:73: :a7:26:2e:f7:9b:38 root@mail

#scp /home/e-smith/files/users/dummy/.ssh/id_rsa.pub dummy@mail.makif.omer.k12.il:/home/e-smith/files/users/dummy/.ssh/authorized_keys
dummy@mail.makif.omer.k12.il's password:
Permission denied, please try again.
dummy@mail.makif.omer.k12.il's password:
Received disconnect from 192.168.183.5: 2: Too many authentication failures for dummy
lost connection
#help lost connection ?






     http://wiki.contribs.org/SSH_Public-Private_Keys
Thanks all for helping
Skype yosii2009