views:

88

answers:

2

Can anyone show me c# code that successfully logs into a Linux server by inputting username and password?

A: 

Im not sure on term emulation but a quick and dirty way would be to send keys from the C# program to a putty window using the window handle. That would be the easiest way especially if you are going though ssh.

rerun
I'm trying to avoid installing anything I can't easily include in my c# project.
LonnieBest
+4  A: 

sharpSsh - A Secure Shell (SSH) library for .NET

Tom
Spot on, my brother! It won't let me vote you up until I have 15 reputation points. Sorry, thanks for the recommendation.
LonnieBest