File Transfer

I need to revise file transfer over TCP/IP. This article consists of links on encryption, sftp man pages, restricting shell escapes, sshd, ssh keys, restarts and scp.

How to encrypt the channel?

The sftp man pages are as follows,

With FTP there exist both shell escapes and commands that need to be restricted, such as cd and mget/mput

chroot jails might be useful

do we still have restricted shells

seems to work

For various reasons, I checked the sshd documentation

it can be run in file transfer mode, not yet found if it can do restart?

Dealing with keys is obviously the same, here’s Prof. Chou on the subject. Here’s a link from lifehacker about how to set up an ssh server in the home. It has a compare and contrast with FTPS i.e. FTP over SSL and thus talks about x.509 certs.

http://lifehacker.com/205090/geek-to-live–set-up-a-personal-home-ssh-server

And here’s the Ubuntu Page, https://help.ubuntu.com/10.04/serverguide/ftp-server.html

While looking up transfer restart, I came across some references to an IETF RFC. Another idea would be to split the file, sftp it and then cat it back together again, thus ensuring that an FTP was restartable from the failing chunk to the end of file.

Here’s a note on SCP vs SFTP

Related Posts

  • RCS Revision Control System, one of the grand daddies of them all. I still use it because […]
  • Ubuntu 13.10 I am installing this on the Mac under Virtual Box. This snip is about Ubuntu. The […]
  • Copying from XP to Wn I have been busy trying to copy files from a old XP machine to W8. The XP machine is […]
  • System V init scripts I really like Ubuntu's system V initialisation scripts and features. This is now based […]
  • Centos 6.x I downloaded this from http://centos.mirroring.pulsant.co.uk/6.4/isos/x86_64/ The […]

Leave a Reply

Your email address will not be published. Required fields are marked *