이 Putty에서보세요 원격 데스크톱을 통해 리눅스하기 위해 작성하는 방법이 프로그램에 따라 }
private void button1_Click(object sender, EventArgs e)
{
try
{
rdp.Server = txtServer.Text;
rdp.UserName = txtUserName.Text;
IMsTscNonScriptable secured = (IMsTscNonScriptable)rdp.GetOcx();
secured.ClearTextPassword = txtPassword.Text;
rdp.Connect();
}
catch (Exception Ex)
{
MessageBox.Show("Error Connecting", "Error connecting to remote desktop " + txtServer.Text + " Error: " + Ex.Message,MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private void button2_Click(object sender, EventArgs e)
{
try
{
// Check if connected before disconnecting
if (rdp.Connected.ToString() == "1")
rdp.Disconnect();
}
catch (Exception Ex)
{
MessageBox.Show("Error Disconnecting", "Error disconnecting from remote desktop " + txtServer.Text + " Error: " + Ex.Message, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}
당신은 SSH라는 프로토콜을 사용할 수 있습니다. GUI가 없으며 모든 것이 텍스트 기반입니다.
도구, 라이브러리 또는 좋아하는 오프 사이트 리소스 **를 추천하거나 찾도록 ** 요청하는 질문은 오탈 된 답변 및 스팸을 유치하는 경향이 있으므로 스택 오버플로 관련 주제와 관련이 없습니다. 대신, [문제 설명] (http://meta.stackexchange.com/q/139399/) 및 지금까지 해결 된 사항은 무엇입니까? – hakre