SSH,Tprocess and SSH password lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- snorkel · 2012-10-17 14:45 I have been struggling with this for awhile now and can't find a way to pass a password to a instance of SSH running via TProcess. Does anyone know how to get a password to SSH? I wrote a nice tunnel manager app, but it only works if I setup keys so no password is required. ---------------------------------------------------------------------- snorkel · 2012-10-18 15:32 Nevermind. Securebridge 5.0 is out with support for Lazarus, so I will be using that, so no need for tprocess and SSH. ---------------------------------------------------------------------- BigChimp · 2012-10-18 15:41 Well, your not giving the Laz/FPC version or any idea of how you were passing the password doesn't really help either. Anyway, gl, hope it works. ---------------------------------------------------------------------- snorkel · 2012-11-19 06:12 Sorry, I didn't think the version of Lazarus really mattered for this question and I was not able to get it working with tprocess as I couldn't figure out how to have tprocess invoke it's own tty to trick openSSH into thinking the password was typed at a terminal. Using securebridge I got the app fully working in no time, what a time saver. Check it out here: http://www.lightningadmin.com/pd2/view.download/3/5 Have a linux version as well, just have not had time lately to figure out how to package it properly for Linux so it shows up in the KDE and Gnome menu systems. Later, Snorkel