TAG: ssh

PageDescriptionTags
DSH - Distributed Shell / Dancers Shell Very handy tool if you manage more than a couple of hosts. Homepage: <http://www.netfort.gr.jp/~dancer/software/dsh.html> My little dsh tidbit: howto dsh with a batch or script file. You should know that dsh will only be fun if you are using ssh with pulic-key authentication. Otherwise you'll find yourself typing passwords all day. If you don't know what that is, I suggest find out about it and come back once you are familiar with it. , ,
PuTTY Home of PuTTY is <http://www.chiark.greenend.org.uk/~sgtatham/putty/> Running PuTTY To load a saved session, you can create a batch file like so: start "" putty -load host.domain.tld You can even start multiple PuTTYs at once: start "" putty -load hostA.domain.tld start "" putty -load sessionB , ,
rsync Home of rsync is <http://rsync.samba.org> Example script using rsync to sync some directories from given remote host to the local system: #!/bin/bash # # 2008-02-10/TB # REMOTE=192.168.0.1 declare -a SOURCEDIR SOURCEDIR=" /etc/vsftpd.conf /var/www/ /root/scripts/ /home/admin/" LOG=/rs.log # to avoid a dry-run comment out the following line: DRY=--dry-run # reset or create the logfile (zero bytes): > $LOG for i in ${QUELLDIR[*]}; do echo -e "$i\n" >> $LOG rsync -av… , ,
SSH Useful information regarding SSH and public keys can be found here: <http://sial.org/howto/openssh/publickey-auth/> generate a public key ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa # or ssh-keygen -t rsa -C "username `date +%Y-%m`" -b 4096 -f ~/.ssh/id_rsa copy puplic key to destination , ,
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready