Difference between revisions of "Secure FTP access"

From Biowikifarm Metawiki
Jump to: navigation, search
m (Created page with '== Mounting remote file system via sshfs == <source lang="bash"> # on a local linux machine sudo mkdir -p /mnt/Biowikifarm # change username chown yourusername-on-the-biowiki...')
 
m (Mounting remote file system via sshfs: +unmounting)
Line 1: Line 1:
== Mounting remote file system via sshfs ==
+
== Mounting/unmounting remote file system via sshfs ==
  
 
<source lang="bash">
 
<source lang="bash">
# on a local linux machine
+
# on a local linux machine
 
  sudo mkdir -p /mnt/Biowikifarm
 
  sudo mkdir -p /mnt/Biowikifarm
 
  # change username
 
  # change username
 
  chown yourusername-on-the-biowikifarm /mnt/Biowikifarm/
 
  chown yourusername-on-the-biowikifarm /mnt/Biowikifarm/
# needs sshfs (ubuntu: apt-get install sshfs)
+
# mount file the remote system
 +
# needs sshfs (ubuntu: apt-get install sshfs)
 
  sshfs yourusername-on-the-biowikifarm@biowikifarm.net:/ /mnt/Biowikifarm/
 
  sshfs yourusername-on-the-biowikifarm@biowikifarm.net:/ /mnt/Biowikifarm/
# now you can browse and save from within your local computer
+
# now you can browse and save from within your local computer
 +
# unmount the remote system on your local machine
 +
fusermount -u /mnt/Biowikifarm/
 
</source>
 
</source>
Note that any other usergroup on the wiki is not shown on your local computer, but just group ID-numbers. But you can create an identical usergroup on your local machine with the same group ID.
+
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 usergroup on your local machine with the same group ID.
  
 
== Secure terminal access via ssh ==
 
== Secure terminal access via ssh ==

Revision as of 15:45, 7 July 2010

Mounting/unmounting remote file system via sshfs

 # on a local linux machine
 sudo mkdir -p /mnt/Biowikifarm
 # change username
 chown yourusername-on-the-biowikifarm /mnt/Biowikifarm/
# mount file the remote system
 # needs sshfs (ubuntu: apt-get install sshfs)
 sshfs yourusername-on-the-biowikifarm@biowikifarm.net:/ /mnt/Biowikifarm/
 # now you can browse and save from within your local computer
# 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 usergroup 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