Can't change user after login

Advertisement

headsetuser
Joined:
Posts:
2

Can't change user after login

No matter what I use in the protocol options for SFTP
Tried many things and options, even this one
sudo su -c /usr/lib/sftp-server
The error is always the same
Cannot initialize SFTP protocol. Is the host running an SFTP server?
Expended several hours trying to find a way that works for
Ubuntu 23.10

This works well for Ubuntu 23.04
Any help is really appreciated
Last edited by headsetuser on 2023-11-23 17:57; edited 1 time in total

Reply with quote

Advertisement

headsetuser
Joined:
Posts:
2

I have reinstalled the failing server
Used Ubuntu 23.04(same like the working server), just a minor variation

Working server info:
ubuntu@vps-9dea8e64:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 23.04
Release:        23.04
Codename:       lunar
ubuntu@vps-9dea8e64:~$ hostnamectl
 Static hostname: vps-9dea8e64
       Icon name: computer-vm
         Chassis: vm 🖴
      Machine ID: 8510c1b80d5f4934826e8814fbfdad24
         Boot ID: 4c4eb50da69c4ae4a87fa8a0aa03148a
  Virtualization: kvm
Operating System: Ubuntu 23.04
          Kernel: Linux 6.2.0-20-generic
    Architecture: x86-64
 Hardware Vendor: OpenStack Foundation
  Hardware Model: OpenStack Nova
Firmware Version: 2:1.10.2-58953eb7
ubuntu@vps-9dea8e64:~$

Failing server info:
root@ftpserver:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 23.04
Release:        23.04
Codename:       lunar
root@ftpserver:~# hostnamectl
 Static hostname: ftpserver
       Icon name: computer-vm
         Chassis: vm 🖴
      Machine ID: f55b12f373884fc0bd3ed7b2cf0e3486
         Boot ID: 5a71ea0f0a67466c8a79de05537b754b
  Virtualization: kvm
Operating System: Ubuntu 23.04
          Kernel: Linux 6.2.0-37-generic
    Architecture: x86-64
 Hardware Vendor: QEMU
  Hardware Model: Standard PC _i440FX + PIIX, 1996_
Firmware Version: rel-1.16.1-0-g3208b098f51a-prebuilt.qemu.org
root@ftpserver:~#

Still have the same issue, I'm impressed, I have checked many configurations and are exactly the same

Reply with quote

Advertisement

You can post new topics in this forum