Secure FTP access

From Biowikifarm Metawiki
Revision as of 16:48, 28 January 2015 by Andreas Plank (Talk | contribs) (added Category:SSH using HotCat)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Mounting/unmounting remote file system via sshfs

# create a local directory on a linux machine
 sudo mkdir -p /mnt/Biowikifarm
 # change username: ownership settings ?must be the same as on the remote system
 sudo chown yourusername-on-the-biowikifarm /mnt/Biowikifarm/
# mount the remote system; needs sshfs (ubuntu: apt-get install sshfs)
 sshfs -o follow_symlinks yourusername-on-the-biowikifarm@biowikifarm.net:/ /mnt/Biowikifarm/
 # now you can browse and save from within your local computer
 # note that symlinks are displayed as folders, not as symlinks actually

# unmount the remote system on your local machine
 fusermount -u /mnt/Biowikifarm/

Note that any other user group on the wiki is not shown on your local computer, but just group ID-numbers. But you can create an identical user group on your local machine with the same group ID.

Secure terminal access via ssh

Use your preferred terminal and type:

ssh yourusername-on-the-biowikifarm@biowikifarm.net
# ssh yourusername-on-the-biowikifarm@biowikifarm.net:/path/
#...
# now you are logged in on the server
exit # closes this session

Graphical User Interface

Under Linux for sftp you can simply use a file browser, e.g. konqueror or dolphin and type in the address path sftp://yourusername@yourserver.info and then browse as usual.