Category Archives: ssh

Passwordless ssh not working

I was getting the following with ssh -v user@remote_host debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/mike/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password … Continue reading

Posted in linux, net, security, ssh | Tagged , | Leave a comment

Open new Chrome window from command line via SSH

I switch between computers and sometimes when I’m switching I need to push an URL/prepare a window so found a solution with the following command: mike@remotehost $ export DISPLAY=:0; nohup chromium –new-window UPDATE 2017-06-18

Posted in browser, cli, linux, ssh, Uncategorized | Tagged , , , , | Leave a comment

SSHFS mounting without password with SSH keys

First we need to generate public and private keys on our host.When prompted for passphrase just hit enter to go without it nevillegroup@shell:~$ ssh-keygenGenerating public/private rsa key pair.Enter file in which to save the key (/home/nevillegroup/.ssh/id_rsa):Enter passphrase (empty for no … Continue reading

Posted in ssh, ssh-keygen, sshfs | Leave a comment

Backup with RSYNC and SSH authorized key

Finally I wrote my rsync backup script v. 0.1 #!/bin/sh# ~/bin/ # Some help from# Thanks# man rsync# -v be verbose# -h human readable bytes# -a, –archive archive mode; same as -rlptgoD (no -H) -H … Continue reading

Posted in backup, rsync, ssh | Leave a comment