ssh = send
ssdh = receive (from ubuntu24.04 it’s ssh too)
Check status and port
sudo systemctl status ssh
Restart sshd
systemctl restart sshd
Enable sshd
systemctl enable --now ssh
Coolify Openssh Settings: https://coolify.io/docs/knowledge-base/server/openssh
# In portainer open terminal and if it's not installed install scp
apt-get update && apt-get -y install openssh-client
# if you get scp error '/usr/local/bin/ssh: No such file or directory', link it.
sudo ln -s /usr/bin/ssh /usr/local/bin/ssh
# go to the directory's parent path and run for last dir:
#**root@container**:
scp -r DIR_NAME_TO_COPY [email protected]:
# or on the folder
scp FILE_NAME_TO_COPY [email protected]:
# Get the data from the workstation in terminal (**Password**: suleymandeduce)
#**sglbl@DEDUCE-PC**:~$ (or use 192.168.192.173)
scp -r [email protected]:DIR_NAME_TO_COPY localtemp
Change ownership of the key file to the sglbl user:
sudo chown sglbl:sglbl /data/coolify/ssh/keys/[email protected]
Set correct permissions:
sudo chmod 600 /data/coolify/ssh/keys/[email protected]
Test access as the sglbl user:
sudo -u sglbl ssh-keygen -l -f /data/coolify/ssh/keys/[email protected]
Test SSH connection as the sglbl user:
sudo -u sglbl ssh -i /data/coolify/ssh/keys/[email protected] [email protected] -p 2222
/etc/ssh/sshd_configOpen the SSH server configuration file:
sudo nano /etc/ssh/sshd_config
Find the line that says Port 22 and change it to Port 2222 (or any other port you prefer):
Port 2222