You can connect to the repository using SSH and SFTP without entering a password, just generate and add your SSH key to the repository.
1. Generate keys:
ssh-keygen -t rsa -b 2048
2. Place the keys in the repository, not forgetting to substitute your user and server address in the command:
cat ~/.ssh/id_rsa.pub | ssh -p23 u123456@u123456.your-storagebox.de install-ssh-key
3. After executing command #2, the system will prompt the user to enter a login password, enter it. The following output will indicate the successful addition of keys in the repository:
cat ~/.ssh/id_rsa.pub | ssh -p23 u123456@u123456.your-storagebox.de install-ssh-key u123456@u123456.your-storagebox.de's password: Key No. 1 (ssh-rsa root@zaro.pp.ua) was installed in RFC4716 format Key No. 1 (ssh-rsa root@zaro.pp.ua) was installed in OpenSSH format
4. You can make sure that the connection is made using an SSH key by making a connection attempt, if successful, you will immediately join the server without entering a password:
ssh -p23 u123456@u123456.your-storagebox.de
All question categories