
The most popular (and easiest) use for SSH is as a replacement for telnet. This document covers setting up SSH in Microsoft Windows as a telnet-replacement only; if you're looking for help with SFTP or SSH-wrapping of other protocols, you're on your own.

You might say, "I have no secrets; I don't care who can see my email or my password." But keeping out "peeping toms" and prying spooks isn't the only reason to use encryption. Identity thieves and other nefarious characters would enjoy breaking into and using an innocent bystander's account as a base of operations. When their activities are noticed, it means the authorities waste valuable time investigating the victim (you!) and gives the villain a chance to escape.
Using encrypted login technology (like SSH) makes it harder for someone to get your password and use you as an unwitting accomplice. And nowadays, it's almost as easy to use as plain telnet!
1. a public key to save on Panix, andYou should only use public/private-key authentication on a private computer (one that only you have access to), and avoid file-sharing. Remember that your private key is a file, and can be stolen from your computer if you aren't careful.
2. a private key to keep on your computer.
Put this file in your Tera Term program folder too, and rename it to "ssh_known_hosts".
You'll notice that the "New connection" dialog now contains choices for "SSH" and "Other", besides the usual "Telnet". If you choose "SSH", the port number will automatically change from 23 to 22.
Type "shell.panix.com" in the "Host" field, and click "OK" to connect. You should see an "SSH Authentication" dialog right away. NOTE: If you see a dialog warning you that TTSSH doesn't see its key in the "ssh_known_hosts" file, then you need to hit "Cancel" and confirm the location of your ssh_known_hosts file in your "Setup:SSH" menu before proceeding. In general, you should always get a canonical copy of the key, or at least verify its fingerprint, before connecting to the server. Otherwise, you proceed at your own risk.
Your "SSH Authentication" dialog contains several login options.
We'll stick to plain passwords and/or RSA keys here.
After you create they keys, put your private key file in your Tera Term directory.
Then open Tera Term, go to the "Setup" menu, and choose "SSH Authentication". Enter your user name where it asks, and select "Use RSA key to log in". Now click the "Private key file" button, and tell it where to find your private key.
Now you can choose "Use RSA key to log in", and go ahead. If you want to make key-authentication the default, simply choose "Save setup" from the "Setup" menu after you've logged in, and save the new setup as "teraterm.ini".
Now, load your session and go to the "SSH:Auth" category. Click the "Browse" button next to "Private key file for authentication", and tell it where your private key is. Also, in the "SSH" category itself, verify that "Preferred SSH protocol version" is set to 2.
When you've made these changes, go back and save your session again.
mkdir .ssh(Don't forget the dot!) Then "cd" to that directory and create a file (with your text editor) called "authorized_keys". Paste your new public key into this file; MAKE SURE it's all one very long line with no line breaks.
[ Panix Home ] [ Panix Help System Index ] [ Top of This Page ]