Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Ubuntu OpenSSH sftp server

I installed OpenSSH. Changed the sshd_config. Created a user. I created a user, but I get a error when connecting with WinSCP. Why? (Networkerror: Software caused a disconnect)
SVN_Joschi's user avatar
0 votes
0 answers
227 views

How can you access net applications on wsl 2

I need to send a file from one WSL to another for a task I'm given. I tried to use scp command, but it requires me to get a wifi0 IP address for the network both devices are connected to, which I don'...
Mhmoud Njedeen's user avatar
0 votes
0 answers
1k views

ssh: connect to host xx.xxx.xxx.xx port 22: Connection timed out

I am using ubuntu in my old pc and laptop. Whenever I connect to my note book from pc by using ssh and sftp it works. pc to notebook >> no problem Now I am trying to make my pc like a remote ...
Codeholic's user avatar
  • 101
2 votes
1 answer
2k views

Can login to sftp, but not to ssh shell

I was trying to setup a new sftp user for my server (Ubuntu 20.04). I created the user my-user, added a public key to his .ssh/authorized_keys file and decided to test an SSH login before anything.. ...
Buno's user avatar
  • 183
0 votes
1 answer
5k views

OPEN SSH not listening on Port 22

I installed Ubuntu 20.4 (and included Open SSH) as virtual machine on Virtual Box on a Windows 10 laptop. I installed Samba to allow for machine name connection. Below shows the listeners on Port 22,...
NealWalters's user avatar
0 votes
1 answer
6k views

SSH / SFTP Permission denied (publickey)

I've added the following to my sshd_config Match Group sftponly ChrootDirectory /srv/sftpfolder ForceCommand internal-sftp #AllowTcpForwarding no PermitTunnel no X11Forwarding no I created "user&...
Felix's user avatar
  • 21
0 votes
2 answers
4k views

SFTP Default Folder & Limiting Access With chroot

I want to default a given user to a specific folder when they SFTP to my Ubuntu 18.04 machine. I also wanted to lock down SFTP a bit. This Digital Ocean post gave me what I needed, and helped me get a ...
user974552's user avatar
0 votes
1 answer
2k views

SFTP Openssh configuration

I'm using Ubuntu 18.04 and today I installed sftp server using openssh for my server. I followed the instructions on the internet, everything is good, they said I have to add this codes to sshd_config ...
WillRock 's user avatar
0 votes
0 answers
782 views

OpenSSH SFTP Server/Integromat Timed out waiting for a handshake

I'm trying to use Integromat and SFTP to sync my Google Drive to a folder on my desktop. I'm open to other methods of accomplishing this goal, but I wanted to do a SFTP server as a learning experience....
middleman3's user avatar
1 vote
0 answers
84 views

Overcoming the openssh / sftp jailroot unwritable

we have set up openssh / sftp with a jailroot via chroot; it's well established that a client can't write (upload files to) this root; you need to set up a writable subfolder. However, we have ...
Querylous's user avatar
2 votes
3 answers
12k views

Setup sftp user account and restric read/write access to one folder

I would like to create sftp user account on Ubuntu server which has read/write access only to one specific folder. I would like this user to have rights to transfer files up and from my server via ...
Primoz Rome's user avatar
3 votes
1 answer
4k views

How to convert Filezilla PPK to openssh sftp compatible key

I'd like to use the command line sftp client and sshfs and have been given a filezilla ppk file. How do I extract the keys into a format that works with sftp, openssh? I tried just copying the ...
hookenz's user avatar
  • 2,599
10 votes
1 answer
37k views

Limit SFTP user access to specified directory

I have a Ubuntu 14.04 server installed with open ssh. I'd like to configure sftp for customers to be able to download files only. In other words, I put files in a directory that they are jailed to. ...
scottsmail's user avatar
2 votes
0 answers
272 views

OpenSSH chroot breaks ssh and ftp

I'm trying to set up a webserver with a restricted sftp connection. I've googled and followed several walkthoughs that all appear to be pretty much the same thing. Here are my steps: Fresh install ...
sureshot007's user avatar
5 votes
5 answers
14k views

SFTP timeout but SSH works fine

I am unable to sftp (or scp) into my server setup but am able to ssh just fine. I am using key authentication for both. When I sftp it just hangs forever and doesn't give me the sftp prompt. Here is ...
Jared Meyering's user avatar
0 votes
1 answer
544 views

Please clarify: Using SFTP on LAN for development [closed]

After so many years of working with FTP on Ubuntu, I'm now confused. I read on many docs that FTP is insecure and that SFTP or SSH is the best way to go. But here's what I want to do... We are a ...
itsols's user avatar
  • 1,200
87 votes
4 answers
467k views

How to setup a restricted SFTP server on Ubuntu?

I would like to know how to set up root, sudo, sftp-only user accounts which won't be required public key authentication at log in. I would also like to know how to set up sftp-only users' home ...
Yuya Kobayashi's user avatar
3 votes
1 answer
22k views

SFTP connection successful, but can't upload files

I followed this guide. I am using Ubuntu Server and Filezilla, and I can succesfully connect. However, I can only read and download files, not upload or edit them. If I change the file permissions to ...
Bas's user avatar
  • 33
0 votes
1 answer
257 views

OpenSSH Users and SFTP

I added users to my server, but when I try to login, it prompts me for a password, which I never put in. Do any of you know what the default password is? Also, I would like to setup SFTP, so can ...
JWENG8's user avatar
  • 3
0 votes
1 answer
973 views

chroot sftp not able to login

I am trying to set up sftp access on my server and chroot the users into a samba share. When I edit /etc/ssh/sshd_config and add Match Group sftpusers ChrootDirectory /srv/samba/share ForceCommand ...
Devin Crossman's user avatar
2 votes
2 answers
9k views

How can I set up SFTP with chrooted groups?

How can I set up a working sftp server for multiple groups with a chrooted directory?
SPeedY's user avatar
  • 41