Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[HOWTO] SSH root logins without a password
#16
fajo Wrote:Why not just use FaJoSSHD Wink ... can be used in parallel to the integrated sshd and makes live a lot easier.

/Falk

Sorry - newbie. How to use FajoSSD to safe id_rsa keys and ans aithorized keys in root .ssh directory?
Extract the module binary package (.mod) from the archive and install it on both Thecus.

root$ ssh-keygen
..... (id_rsa lacation /root/.ssh )
root$ cat ~/.ssh/id_rsa.pub | ssh user@target_machine cat - ">>" /raid/data/module/FaJoSSHD/system/etc/ssh/users/root/authorized_keys
..... ok
root$ ssh root@target_machine
----- ok ssh without auth..n

but after reboot id_rsa lacation /root/.ssh emty
copy from local /raid/data/module/FaJoSSHD/system/etc/ssh/users/root/id_rsa to /root/.ssh , answer "yes" to known_hosts and working again

FaJoSSHD not working on N7710?
_____________________________
N7710, N2560
Reply
#17
fajo Wrote:Why not just use FaJoSSHD Wink ... can be used in parallel to the integrated sshd and makes live a lot easier.

/Falk

Sorry - newbie. How to use FajoSSD to safe id_rsa keys and ans aithorized keys in root .ssh directory?
Extract the module binary package (.mod) from the archive and install it on both Thecus.

root$ ssh-keygen
..... (id_rsa lacation /root/.ssh )
root$ cat ~/.ssh/id_rsa.pub | ssh user@target_machine cat - ">>" /raid/data/module/FaJoSSHD/system/etc/ssh/users/root/authorized_keys
..... ok
root$ ssh root@target_machine
----- ok ssh without auth..n

but after reboot id_rsa lacation /root/.ssh emty
copy from local /raid/data/module/FaJoSSHD/system/etc/ssh/users/root/id_rsa to /root/.ssh , answer "yes" to known_hosts and working again

FaJoSSHD not working on N7710?
_____________________________
N7710, N2560
Reply
#18
thanks for sharing
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [HOWTO] Non-root SSH logins markc 10 12,240 08-06-2015, 12:41 PM
Last Post: xrdcarbon
  [HOWTO] Non-root SSH logins 0 8,289 Less than 1 minute ago
Last Post:
  [HOWTO] SSH root logins without a password 0 8,812 Less than 1 minute ago
Last Post:

Forum Jump:


Users browsing this thread: 1 Guest(s)