Para acessar seu sftp de outros hosts, certifique-se de que o seguinte esteja instalado e configurado corretamente.
- Servidores OpenSSH instalados
- Configurado sshd_config
- PubkeyAuthentication yes
- Subsistema sftp interno-sftp
-
Adicionou sua chave pública em ~ / .ssh / authorized_keys
-
Inicie o servidor ssh com a porta 22 / TCP aberta
# /etc/init.d/sshd start
-
# iptables -I INPUT -j ACCEPT -p tcp --dport 22
Finalmente, teste
$ sftp <login>@<hostname>