sftp
sftp copied to clipboard
Cibbectuib ckised with No such file or directory
Hi !
When I try to connect with PuTTY or MobaXterm, I get this error :
/dev/pts/0: No such file or directory
open /dev/tty failed - could not set controlling tty: No such file or directory
When I try with WinSCP, I have these logs : Changed root directory to "/home/myuser"
' for myuser from 172.18.0.1 port 35588 id 0'internal-sftp
Close session: user myuser from 172.18.0.1 port 35588 id 0
Here is a part of my docker-compose file :
volumes:
- ./sshd_config:/etc/ssh/sshd_config
- myusersftp:/home/myuser/
- /etc/docker-ssh/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
- /etc/docker-ssh/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key
command: myuser:$$1$$blablabla$$lablablablablablablablabla:e:::upload
I don't understand why :(
I starting experiencing this issue today.
tried logging in and got
/dev/pts/0: No such file or directory open /dev/tty failed - could not set controlling tty: No such file or directory
The only difference I can think of is that I am using AlmaLinux instead of CentOS as my docker host.
I tested the latest alpine variant as well as the 3.7 version