Skip to content

Commit a1efb61

Browse files
committed
Revert "set a real pty for sending ssh commands"
This reverts commit a86176d.
1 parent 944dcf1 commit a1efb61

File tree

1 file changed

+0
-3
lines changed
  • arduino-core/src/cc/arduino/packages/ssh

1 file changed

+0
-3
lines changed

arduino-core/src/cc/arduino/packages/ssh/SSH.java

-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ public boolean execSyncCommand(String command, PrintStream stdoutConsumer, Print
5858
try {
5959
channel = session.openChannel("exec");
6060
((ChannelExec) channel).setCommand(command);
61-
((ChannelExec) channel).setAgentForwarding(true);
62-
((ChannelExec) channel).setPty(true);
63-
((ChannelExec) channel).setPtyType( "xterm" );
6461

6562
channel.setInputStream(null);
6663

0 commit comments

Comments
 (0)