Okay, hard to explain for me. But I try.arfer wrote:I can't say I fully understand what you are saying desired. Telnet localhost?.
1. Login to your shell account using Putty (or any other SSH client).
2. type: telnet 127.0.0.1 <telnet-port-of-your-eggdrop>
3. enter username and password
3. BOOM, you are on the partyline
...Okay, admittedly, that partyline looks ugly.
But that is where Defero goes into action.
1. You use your SSH implementation. You wanted to implement SSH so or so. Login to your shell account.
2. Let Defero also type telnet 127.0.0.1 <telnet-port>
3. enter username and password
4. from here Defero will manage all incoming and outgoing and make the telnet chat look more pretty, just as the current direct telnet connection right now.
Hope that is a good idea. Any questions?
I know all that stuff is quite complicated. That's why I suggested to utilize Putty for that job, if that's possible at all. Like WinSCP, they also use the Putty SSH implementation.arfer wrote:In any case I have already implemented a testbed SSH connection window in Defero using SSHBlackBox components to launch a seperate window and automatically login using password authentication rather than the normal keyboard authentication, but there are two difficulties.
1. Many SSH shell bash prompts these days are what might be termed semi-graphical using Linux character sets G1 and G2. I haven't yet found these character sets in order to attempt to translate them, though I haven't searched long and hard. I would consider this problem do'able.
2. My testbed SSH connection is rather primitive and would definitely not cope with things like command line editors, nano and the like, though it is adequate for most bash commands. I could attempt to build a complete vt emulation to translate keystroke by keystroke (both ways of course), or preferably find a suitable third party emulator (form based, not console based). Since the latter has proven difficult to find, this problem is rather less do'able though I might yet give it a go. I am currently looking at the potential for terminal emulation in TMS Async32 components. It would be in keeping with my ultimate goal of having an 'all-in-one' Eggdrop tool .. TELNET/SSH/(S)FTP.
There are probably more important things to do first. The programming environment I used is getting rather aged, I would like to upgrade to Delphi XE2 and change socket technology to make easier the added functionality of IPv6 and SSL. Pretty big jobs for a single developer. Cost is an issue too.