Subscribe RSS

Tag-Archive for "ssh"

Screen Jul 07
Aww isnt that cute! BUT ITS WRONG!

Hay look another irrelevant picture!

There is a very useful application with plenty of features that can be downloaded easily.

One of the best features is the ability to start a screen session in ssh from one location, disconnect it then reconnect it at a later time from a different session.

Get it now: aptitude install screen

As it is to be used in console and key commands need to be passed to the bash session that it contains the key commands can be quite complex.

As rule of the thumb all commands start with ^A that is control + a then let go followed by a key or combination of keys. You can get a full list of commands available by pressing ^a + ? in screen.

Create window ^a +c
Close window “exit” no prior key seq.
Go to window 0 ^a + 0
Go to window 2 ^a + 2
Go to last window ^a + ^a
View list of windows ^a  + ” (yes quote marks you’ll need to press shift too)

I could go on but this is it in a nutshell.

Category: Linux  | Tags: , , ,  | Leave a Comment
Known Hosts Jun 16

An easy way to remove the hashed host keys from the .ssh/known_hosts file. This saves editing the file manually and finsing the records.

ssh-keygen -R hostname.com

Category: Linux  | Tags:  | Leave a Comment