If you use a SSH server to transfer files (scp or sftp) you might want to restict the connecting users.
Restrict the user shell, use rssh:
rssh is a restricted shell for use with OpenSSH, allowing only scp and/or sftp. It now ...Read More
SSH: Prevent banner timeout">
If you create a regular ssh port forwarding like this
ssh -f -N -L 2010:localhost:22 _USER_@_OTHERHOST_
you'll run into troubles if _OTHERHOST_ dies AFTER you setup the tunnel. If you connect to localhost:2010 ssh will just wait until tcp timeout (on my ...Read More
SSH Tunnel on iPhone">
I need a SSH tunnel on my IPhone, so I can access my devices at home (for example dreaMote to access the dreambox).
The easiest way I found to do this, was by using MobileTerminal. I just added a new menu ...Read More
SSH Guide (German)">
Als Semesterarbeit im Fach Netzwerk habe ich mich dem Thema SSH gewidmet.
Entstanden ist eine Arbeit, welche sich primär am praktischen Nutzen orientiert - klick auf den untenstehenden Link um das Inhaltsverzeichnis anzuzeigen.
Download SSH Guide (c) by Michael Vogt 2008
Further reading: ...Read More
ICMP tunnel)">
I ported PingTunnel to Windows, using Cygwin and added some minor changes:
v0.62 - 16. Oct 2007
- Compiled with Cygwin - added windows support
- Updated to Winpcap v4.01
- added timeout value (-t), finetune your connection
Download PingTunnel v0.62 for Windows here (including ...Read More
SSH Private-Key cracker">
I tried to crack (brute force) my private SSH key I use, but I couldn't find a working tool for Windows, so I modified a simple private key cracker done by anonymous@echo.or.id. I also tweaked it a bit, I increased ...Read More
SSH, Debian sarge and MySQL 5">
I wanted to connect my MySql server via SSH from remote, but every time I tried to connect, i received this error message:
"ERROR 2013 (HY000): Lost connection to MySQL server during query" (MySQL Admin) or this error via JDBC:
[cc lang="bash" ...Read More
CVS-SSH2 Server installation (debian)">
Install the CVS server: apt-get install cvs. This will install CVS, the daemon gets started with inetd and the CVS root is by default /var/lib/cvs. By default you can connect to your CVS server via pserver, but you shouldn't use ...Read More
SSH keypair">
When you create a SSH keypair you can connect to your SSH server without entering a password.
Windows:
Generate key with puttygen, I use ssh2-rsa/1024 as parameters.
Now copy the public key from the "Public key for pasting..." textfield into the clipboard. Fire ...Read More
SSH">
I want to map a network drive at home (over SSH) from my workplace.
Prepare NIC
1) Install a loopback adapter.
2) Disable "Client for Microsoft Networks", "File and Printer Sharing for Microsoft Networks" and anything else except "Internet Protocol (TCP/IP)".
3) Set a ...Read More
SSH sessions with putty/plink">
If you want to create SSH tunnels its a bit annoying when your SSH session disconnects. There are some tools available which prevents that:
-Calling Home
-MyEntunnel
Calling Home didn’t work for me; I assume this is because of a newer ...Read More
SSH Timeouts">
If your SSH Session disconnect even if you enabled “Sending of null packets to keep session active” and “Enable TCP keepalives (SO_KEEPALIVE option)” you might want to try this:
From the Putty FAQ:
On Windows NT, 2000, or XP, the registry key ...Read More