Difference between revisions of "Passwordless SSH"
Jump to navigation
Jump to search
(→ESXi0) |
|||
Line 11: | Line 11: | ||
*<code>cd /etc/ssh/keys-root/</code> | *<code>cd /etc/ssh/keys-root/</code> | ||
*<code>ls -l</code> | *<code>ls -l</code> | ||
− | *<code>cp /.ssh/* /vmfs/volumes/ | + | *<code>cp /.ssh/* /vmfs/volumes/Admin/Utilities/ssl/ESXi1/keys</code> |
Revision as of 22:14, 6 July 2020
ESXi0
mkdir /vmfs/volumes/Admin/Utilities/ssl
mkdir /vmfs/volumes/Admin/Utilities/ssl/ESXi1
mkdir /vmfs/volumes/Admin/Utilities/ssl/ESXi1/keys
mkdir /.ssh
cd /.ssh
/usr/lib/vmware/openssh/bin/ssh-keygen -t rsa -b 4096
ls
cat id_rsa.pub | ssh root@ESXi1 'cat >> /etc/ssh/keys-root/authorized_keys'
cd /etc/ssh/keys-root/
ls -l
cp /.ssh/* /vmfs/volumes/Admin/Utilities/ssl/ESXi1/keys