Openssh key to access remote sftp server from RHEL [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 years ago. Improve this question I have generate public key and private key in windows 7 through puttygen then change the key to openssh in … Read more

Why does youtube uses http for video uploads? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago. Improve this question I researched a bit and found that YouTube uses http for file upload. I also found … Read more

I need to run SCP, SFTP and SSH in three different ports

I need to run SCP, SFTP, and SSH in the same host but via three different ports; is there a way where we can configure SSHD in that manner? Thanks in advance. Answer You can do that by adding in /etc/ssh/sshd_config file the ports you want to use on the server: Example: Port 22 Port … Read more

How can I disable SFTP so that FTP is the only daemon open? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question In sshd_config I’ve commented out: Subsystem sftp /usr/lib/openssh/sftp-server but sftp is still working. What am I missing? Answer Port 22 is SSH/scp/SFTP. Port … Read more

sftp not working, but ssh is working [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question I have a nat rule in my firewall to allow port 22 traffic through pfsense. I am able to SSH into my server … Read more

SFTP file download and upload permission

I have folder /sftp/xyz, need to give download and upload permission for ‘xyz’ folder for user ‘abc’. User ‘abc’ should access only the folder /sftp/xyz. I tried so many things but now the user ‘abc’ is able to access /home/, /sftp/ also able to edit files. Please help. Answer This is because user abc has … Read more

How to automate a transfer of file from server to local system using ftp

I have a windows server 2003 which generates backup file to ftp folder in the server(using my own script). And I will ftp and copy it to my local hard disk daily. How can I automate this process using any scripts? Edit– I want to pull the archive(rar format) file which will be around 50MB, … Read more

Checking sftp connectivity [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question I can connect to the remote server using following command… sftp abc@255.136.181.123 But this works from server A and if I use the … Read more

How are files created during FTP?

When one uses FTP/SFTP on Linux, is the method the server uses to create directories and files mkdir and open or something else entirely? Answer Yes it probably does use mkdir(2) and open(2) (or something very similar). You could check by running strace(1) on your ftp daemon and exercising it e.g. strace -p <pid of … Read more