Poderosa: great alternative to putty
Putty is the most popular telnet/ssh client and most of you are probably using it. However, there’s one major problem I have with putty – it doesn’t remember username and password. Everytime I want to login through ssh to my server, I have to find a secret paper with my username and password (very complex and impossible to remember - it’s randomly generated by this password generator). And that’s quite a drag after a while.
So I looked for an alternative and found Pedorosa. It’s more complicated than putty (plus you have to install it) but it remembers your username and password plus it has many more features you might find interesting such as multiple connections in tabs and so on.
Hello,
Thanks for the information. I’ve been looking for any alternative to putty.
However, as I certainly know, you can easily make your password remembered in the Putty.
–
Enkhbilguun E.
After the installation, I feel Putty is better. At least, with Putty, you can adjust SSH port number. Poderosa returning error of invalid port when I change the SSH port.
That’s weird. It works for me, I tried SSH with different port and everything’s fine. You must be writing the port number in wrong field or something.
Oh, it’s working.
Found it was my fault. I like it
To get Putty to auto login create a shortcut to the putty program then edit it. In the target box put this.
Z:\Putty\putty.exe -ssh -l root -P 22 xx.xx.xx.xx -pw yourpassword
xx.xx.xx.xx is the IP address.
I have one of these saved for each server I manage with a descriptive filename.
This is for windows obviously.
Java Script for Pedorosa auto login:
//AutoLogin.js
import Poderosa;
import Poderosa.ConnectionParam;
import Poderosa.Terminal;
import Poderosa.Macro;
import Poderosa.View;
import System.Drawing;
import System.Threading;
var vars = new Object();
// telnet
//connect(“xxx.xxx.xxx.xxx”, ConnectionMethod.Telnet, 23, EncodingType.UTF8, “User Name”, “Password”);
// SSH
connect(“xxx.xxx.xxx.xxx”, ConnectionMethod.SSH2, 22, EncodingType.EUC_JP, “User Name”, “Password”);
connect(“xxx.xxx.xxx.xxx-2″, ConnectionMethod.SSH2, 22, EncodingType.EUC_JP, “User Name2″, “Password”);
function connect(host, method, port, encoding, id, password) {
vars.env = new Environment();
if (method == ConnectionMethod.Telnet) {
vars.param = new TelnetTerminalParam(host);
} else {
vars.param = new SSHTerminalParam(method, host, id, password);
}
vars.param.Port = port;
vars.param.Encoding = encoding;
vars.connection = vars.env.Connections.Open(vars.param);
if (method == ConnectionMethod.Telnet) {
wait(“login: “);
sendln(id);
wait(“Password: “);
sendln(password);
}
}
function sendln(s) {
vars.connection.TransmitLn(s);
}
function wait(s) {
Thread.Sleep(10);
var r = vars.connection.ReceiveData();
while(r.indexOf(s) == -1) {
Thread.Sleep(10);
r += vars.connection.ReceiveData();
}
}