Archive for May 2011

SSH and SCP: Howto, tips & tricks « Linux Tutorial Blog

Specifying a port with scp The scp command acts a little different when it comes to ports. You’d expect that specifying a port should be done this way: [rechosen@localhost ~]$ scp -p yourport yourusername@yourserver:/home/yourusername/examplefile . However, that will not work. You will get an error message like this one: cp: cannot stat `yourport’: No such…

Read More

RSYNC and SSH

I have started to use RSYNC again to backup servers.  One thing that has been a problem with my initial synchronization of data is the dreaded error, Connection reset by peer I believe that I have resolved this time out error by adding the following changes to the /etc/ssh/sshd_config file on the server that is making…

Read More

Mac Stuff » Switching between 32 bit and 64 bit mode in Snow Leopard

To check which mode you’re currently in run this command in Terminal:systemsetup -getkernelbootarchitecturesettingTo set your machine to boot into 64 bit mode enter this command and reboot:sudo systemsetup -setkernelbootarchitecture x86_64To set your machine to boot into 32 bit mode enter this command and reboot:sudo systemsetup -setkernelbootarchitecture i386One oddity I’ve found so far is that on…

Read More

Are the kids alright now?

Osama bin Laden Killed: Breaking Details – The Daily Beast. OK the evil bastard is dead.  If the American populace wants to blame Osama bin Laden for all of the bad luck and economic woes for the past 10 years, OK we got him back.  I know this day of celebration for some is no…

Read More

Scientific Linux 6

rdesktop -u lcwormley -d asurams -k ja -g 800×600 192.168.25.40 What is this command?  Well for me the holy grail for any desktop computer operating system is to be able to connect back to a Windows box.  As a system administrator i always have to be able to get to network devices or servers.  Microsoft…

Read More