Sds-hd SFTP

From bwHPC Wiki
Revision as of 11:04, 20 September 2017 by S Siebler (talk | contribs) (Created page with "<H1>Using SFTP from Unix client</H1> '''direct Access:''' ''Example:'' <pre> > sftp hd_xy123@lsdf02sshfs.urz.uni-heidelberg.de Connected to lsdf02sshfs.urz.uni-heidelberg....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1 Using SFTP from Unix client

direct Access:

Example:

> sftp  hd_xy123@lsdf02sshfs.urz.uni-heidelberg.de
Connected to lsdf02sshfs.urz.uni-heidelberg.de.
sftp> ls
sd16j007  sd17c010  sd17d005  
sftp> 
sftp> help
...
sftp> put myfile
sftp> get myfile

mounting network drive over SFTP:

In most linux distributions you could install a package for fuse mounting a network drive.

Example (debian/ubuntu):

> apt-get install sshfs
> mkdir ~/sds-hd
> sshfs hd_xy123@lsdf02sshfs.urz.uni-heidelberg.de: ~/sds-hd
> ls ~/sds-hd
sd16j007  sd17c010  sd17d005  

Example (CentOS/RedHat):

yum install fuse-sshfs
> mkdir ~/sds-hd
> sshfs hd_xy123@lsdf02sshfs.urz.uni-heidelberg.de: ~/sds-hd
> ls ~/sds-hd
sd16j007  sd17c010  sd17d005

You can close/unmount the network drive with the command:

fusermount -u ~/sds-hd


2 Using SFTP from Windows and Mac client

Windows clients do not have a SCP/SFTP client installed by default, so it needs to be installed before this protocol can be used.

Tools for example:


network drive over SFTP: