Entries tagged "shell"

SSH visual fingerprints

Oct 2, 2008 12:43:00 PM

OpenSSH version 5.1 comes with a great new feature, namely visual fingerprint identification. This helps you in recognizing and identifying changes in fingerprints.

To enable visual fingerprinting for all your SSH sessions, add this to your ~/.ssh/config file:

Host *
    VisualHostKey yes

This gives you a pretty piece of ASCII art when connecting to a remote host:

$ ssh labs.tehmaze.com
Host key fingerprint is fb:24:0a:db:f3:10:d2:33:20:14:fb:43:52:1e:05:50
+--[ RSA 2048]----+
|  ++Eo.          |
| . + .           |
|  + +            |
|   = o           |
|    + = S        |
|     o + .       |
|    . . o .      |
|     +.o +       |
|    . oo. .      |
+-----------------+

Last login: Thu Oct  2 12:38:55 2008 from *.nl
wijnand@drone:~$ 

Trying another host...

$ ssh base
Host key fingerprint is 99:a3:6f:96:78:9c:ef:d7:83:26:33:1f:bd:b0:c7:be
+--[ RSA 2048]----+
|                 |
|                 |
|                 |
|         o       |
|        S        |
|       . .   .   |
|      .o o  o+.  |
|      ..B + ++=. |
|       +.ooBooEo |
+-----------------+

Last login: Thu Oct  2 10:47:23 2008 from *.nl
wijnand@base:~$ 

Ain't it pretty?

 

Remote tabcompletion using OpenSSH and zsh

Aug 3, 2008 3:04:00 AM

The zsh shell comes with (more than one) great feature(s), such as remote tabcompletion. If you for example want to copy a file over scp, simply hit tab at any part of the filename on the remote host. zsh is able to establish an ssh session on the background, and fetch the related information for you, so you can tabcomplete trough the remote files.

Read on..., 0 comments.

 

Jailed sftp (with rssh)

Feb 3, 2007 10:19:00 PM

I was looking for an easy tool to provide scp/sftp only access in a chrooted environment. rssh is the tool to do so! It was quite easy to set up.

Read on..., 0 comments.

 

Visitors

Locations of visitors to this page