Creare un repository remoto con git, per piu’ utenti

Categories: BSD, Linux

A volte capita di dover sviluppare software con altre persone e il modo migliore per farlo e’ usare Git (e questa non e’ la sola ragione!). Git e’ un VCS distribuito ideato da Linux Torlvads e altra gente molto cool :) Lo scopo di questo howto e’ creare un repository remoto per permettere a sviluppatori […]

Start a collaborative project with git, in a remote repository

Categories: BSD, Linux

Sometimes I need to develop software with other people and the best way to do this is use Git (and this is not the only reason!). Git is an awesome distribuited version control system made by Linux Torvalds and other cool guys :) The goal of this howto is to setup a remote git repository […]

ssh public-key authentication

Categories: BSD, Linux

I forgot it again, so… First of all you have to create the keys: ssh-keygen -t rsa -b 2048 You can leave the password field blank. Copy your fresh public key (.pub) in your remote server/machine, renaming it in “authorized_keys“: scp ~/.ssh/id_rsa.pub remotemachine.it:/home/username/.ssh/authorized_keys If your authorized_keys already exist just append the public key to the […]

Rsync via ssh and Warning: Identity file ~/.ssh/id_rsa not accessible: No such file or directory

Categories: BSD, Slackware

You can easily use rsync encrypted in a ssh session, with: rsync -avP -e “ssh -i /home/user/.ssh/id_rsa” remoteuser@remoteserver.com:~/directory/to/sync . Use the complete path of the ssh key, if you put ~/.ssh/id_rsa you’ll have this error by rsync: Warning: Identity file ~/.ssh/id_rsa not accessible: No such file or directory