I can't list the home directory at remote server by using lftp. The error is below.
[user@clientserver ~]$ lftp
lftp :~> lftp -u user,password sftp://remoteserver
lftp user@remoteserver:~> ls
ls: Fatal error: pseudo-tty allocation failed: Operation not permitted
It is not only ls, but also the other commands as well.
While I'm using sftp user@remoteaddress, it's working properly and all the command like ls, cd, pwd, put, etc. is working.
Connecting to sftp using lftp get operation not permitted
-
- Posts: 3
- Joined: 2021/11/25 12:25:45
Re: Connecting to sftp using lftp get operation not permitted
What is the output from uname -a ?
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
-
- Posts: 3
- Joined: 2021/11/25 12:25:45
Re: Connecting to sftp using lftp get operation not permitted
SELinux was disabled.
-
- Posts: 3
- Joined: 2021/11/25 12:25:45
Re: Connecting to sftp using lftp get operation not permitted
Linux xxxx-xxx-x 3.10.0-493.el7.x86_64 #1 SMP Tue Aug 16 11:45:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
However, if I used sudo before lftp, it works! I think lftp doesn't need privileges, but somehow in my case, lftp asked privilege.
Re: Connecting to sftp using lftp get operation not permitted
5 years out of date... yum updateLinux xxxx-xxx-x 3.10.0-493.el7.x86_64 #1 SMP Tue Aug 16 11:45:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke