mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Update v-commander
This commit is contained in:
parent
e6bf09c608
commit
0ae1ea6adc
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ do
|
||||||
|
|
||||||
if [ "$answer" = 'id_rsa' ] || [ "$answer" = 'ID_RSA' ]; then
|
if [ "$answer" = 'id_rsa' ] || [ "$answer" = 'ID_RSA' ]; then
|
||||||
if [ ! -f "/root/.ssh/id_rsa.pub" ]; then
|
if [ ! -f "/root/.ssh/id_rsa.pub" ]; then
|
||||||
ssh-keygen -q -t rsa -N '' -C "$HOSTNAME" -f /root/.ssh/id_rsa 2>/dev/null <<< y >/dev/null
|
ssh-keygen -q -t rsa -N '' -C "$HOSTNAME" -b 4096 -f /root/.ssh/id_rsa 2>/dev/null <<< y >/dev/null
|
||||||
fi
|
fi
|
||||||
echo "=== YOUR id_rsa.pub IS BELOW ==="
|
echo "=== YOUR id_rsa.pub IS BELOW ==="
|
||||||
cat /root/.ssh/id_rsa.pub
|
cat /root/.ssh/id_rsa.pub
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue