Dinh/Dinh 2015/NOTES/2015-5-7

From ZhangLabWiki
Jump to navigation Jump to search

Passwordless ssh/scp/bbftp[edit]

  • Set up passwordless ssh/scp/bbftp from tscc for easier file transfers
  • tscc will be the 'local' computer and genome-miner will be the 'server'
  • this allows access to genome-miner from user's account on tscc without password
  • Log in to TSCC, create a id_rsa files:
 ssh-keygen
  • Leave everything as default and use empty passwords
  • Run ssh-copy-id
 ssh-copy-id dinh@genome-miner.ucsd.edu
  • Enter in the password for genome-miner
  • Test ssh to make sure it works without password
  • Test bbftp: make an empty test file and transfer
 /opt/bbftp/bin/bbftp -s -I /home/ddiep/.ssh/tscc-login.identity -E '/usr/local/bin/bbftpd -s' -e "mput /home/dinh/ test"  -u dinh -p 4 genome-miner.ucsd.edu