|
|
@ -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.
|
|
|
|
/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)
|
|
|
|
(if you think this is a mistake, you may want to use -f option)
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
Скрипт
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
root@stud15:~# cat create_user.sh
|
|
|
|
root@stud15:~# cat create_user.sh
|
|
|
|
#!/bin/bash
|
|
|
|
#!/bin/bash
|
|
|
@ -383,6 +383,7 @@ root@stud15:~# cat nodes
|
|
|
|
10.160.179.55
|
|
|
|
10.160.179.55
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Проверка
|
|
|
|
```
|
|
|
|
```
|
|
|
|
root@stud15:~# ./create_user.sh nodes user6
|
|
|
|
root@stud15:~# ./create_user.sh nodes user6
|
|
|
|
Generating public/private ed25519 key pair.
|
|
|
|
Generating public/private ed25519 key pair.
|
|
|
|