tuned signature;
authorwenzelm
Sat, 15 Oct 2016 16:35:18 +0200
changeset 64226 65f7d2eea2d7
parent 64225 d78d46c755f8
child 64227 cc2edb86f3cc
tuned signature;
src/Pure/General/ssh.scala
--- a/src/Pure/General/ssh.scala	Sat Oct 15 15:42:11 2016 +0200
+++ b/src/Pure/General/ssh.scala	Sat Oct 15 16:35:18 2016 +0200
@@ -324,7 +324,7 @@
 {
   def update_options(new_options: Options): SSH = new SSH(new_options, jsch)
 
-  def open_session(host: String, port: Int = SSH.default_port, user: String = ""): SSH.Session =
+  def open_session(host: String, user: String = "", port: Int = SSH.default_port): SSH.Session =
   {
     val session = jsch.getSession(if (user == "") null else user, host, port)