|
|
|
@ -337,7 +337,7 @@ Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
|
|
|
|
|
/usr/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.
|
|
|
|
|
(if you think this is a mistake, you may want to use -f option)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Скрипт
|
|
|
|
|
```bash
|
|
|
|
|
root@stud15:~# cat create_user.sh
|
|
|
|
|
#!/bin/bash
|
|
|
|
@ -383,6 +383,7 @@ root@stud15:~# cat nodes
|
|
|
|
|
10.160.179.55
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Проверка
|
|
|
|
|
```
|
|
|
|
|
root@stud15:~# ./create_user.sh nodes user6
|
|
|
|
|
Generating public/private ed25519 key pair.
|
|
|
|
|