Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows

2015-05-21 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 21.05.2015 um 15:48 schrieb Schmid Andreas:
 What I'm working on right now is finding the best way to provide
 pre-defined sessions to our users. I probably got one more
 question, will ask in a new thread.

Then you will want to take a look at the session broker on the server
side.  Of course, a poor man's broker using a session config file on
a read-only network share could also be used, as long as your users
are always connected to the LAN (this will work via VPN, too, just not
when all you have is an SSH connect to your server/firewall).

Since you're talking of your users, I'm assuming a commercial setup
on your side, so I hope you don't mind if I point out that there are
several companies offering commercial support for X2Go, mine being one
of them. ;-)

One-time paid consultancy work for getting things set up is available,
just like support contracts with guaranteed response times.
Obviously, paid support is also available in German.

Feel free to contact me off-list for details.

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJVXeQbAAoJEG7d9BjNvlEZMZcH/10GTDnxZ5PZOODGfHoX9a5E
IKQFX8gyMjNiP+sANSjKO8KDX0ikj4k1MDsxFc231Pz7pKfzUMu4P3kvbILah5xP
Era1PEP6Fezxagk9CPKpP0xWl5Jz2QWIb7hV2rF66bzPhIi2mXC+AhEcdAG4qlaJ
ygb1Vgzt2gSSaVwGL2zbXSNTDK/DNA4V//mW71xwnIUAWDH2p5ITUVyWBuSf1Hee
a54j1LGR4CCo0uwOD4lVmwRRsUi4D9IKkGPZ3dRUapexstaFZknkzvBRT0ucdg+M
+5r0QHz+rQY4vU104p6Qb7gYSn2GovlebWXNxgcGQfWBbF/qzwoXl01ZTMExs7M=
=bcFn
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows

2015-05-21 Thread Schmid Andreas
  Well, the reason is simply that I cannot install software on our
  machines myself. Therefore I want to install as little software on
  those machines as possible, as for every piece of software I have
  to go through the installation steps with our IT department. They
  for sure would install pageant as well, but it's just easier for
  all of us if there's just one .exe to execute, rather than two of
  them. And we probably won't run PuTTY etc. on those machines.
 
 Wll, there's no need to install anything at all.  While both
 X2GoClient and PuTTY come with installers, you can also just copy all
 the files to a directory of your choice (say, a network share) and
 start them from there.
 
 You could, for example, install X2GoClient on a test machine, then copy
 the contents of C:\Program Files\x2goclient (or whatever you picked as
 destination) to a network share, say, \\server\share\x2goclient, drop
 pageant.exe from PuTTY in there as well, and add a little batch file
 that runs pageant, adds the key, waits a few seconds, then runs
 x2goclient.
 
 That way, all you have to roll out is a shortcut (*.lnk) file pointing
 to the batch file on \\server\share\x2goclient.  No client-side
 installation at all.
 
 Of course, you could also try to use %userprofile% in the ssh keyfile
 path within the session config, but I've never tried if that works as
 intended, so no promises.
 
OK, this is quite a smart solution. Thank you a lot for your inputs, I really 
appreciate it.
Just, as we have already installed the client (the .exe-way), and because we're 
still undecided about introducing X2Go at all, I'll stick to pointing to the 
key file directly, at least for the moment. I actually don't even need to use 
the %userprofile% variable, as the userprofile directory is mapped to a drive 
letter.
What I'm working on right now is finding the best way to provide pre-defined 
sessions to our users. I probably got one more question, will ask in a new 
thread.

Thanks again,

Andy
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows

2015-05-13 Thread Schmid Andreas
 -Ursprüngliche Nachricht-
 
 Am 12.05.2015 um 14:19 schrieb Schmid Andreas:
 
  I'm trying to use the Try auto login feature on Windows, but it's
  not working (tested with X2Go Client 4.0.3.2). When connecting, I'm
  always asked for a password to open the key, but I actually didn't
  set any passphrase at all for my RSA key. I suspect that maybe X2Go
  Client does not even find the key. Which is the right location to
  put my RSA key in? Does X2Go Client consider any environment
  variables? (When I enter the actual path to the key in the Use
  RSA/DAS key for ssh connection field and unset the auto login
  option, the connection works.)
 
 If you do not specify a key file, and wish to use auto-login, you need
 to load the key into an SSH agent like Pageant.exe from the PuTTY
 suite before starting X2GoClient (or actually, before double-clicking
 on the session tile).
 
Okay, so it's not as easy as I hoped.
I think I'll keep specifying the key file then, as it's a very simple solution.

Thank you anyways.

Andy
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows

2015-05-13 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 13.05.2015 um 14:28 schrieb Schmid Andreas:

 I'm trying to use the Try auto login feature on Windows, but
 it's not working (tested with X2Go Client 4.0.3.2). When
 connecting, I'm always asked for a password to open the key,
 but I actually didn't set any passphrase at all for my RSA key.
 I suspect that maybe X2Go Client does not even find the key.
 Which is the right location to put my RSA key in? Does X2Go
 Client consider any environment variables? (When I enter the
 actual path to the key in the Use RSA/DAS key for ssh
 connection field and unset the auto login option, the
 connection works.)
 
 If you do not specify a key file, and wish to use auto-login, you
 need to load the key into an SSH agent like Pageant.exe from the
 PuTTY suite before starting X2GoClient (or actually, before
 double-clicking on the session tile).
 
 Okay, so it's not as easy as I hoped. I think I'll keep specifying
 the key file then, as it's a very simple solution.

What's so not easy with pageant? *headscratch*

Put a shortcut to pageant in the autostart folder, and in the settings
menu, tell it where to find the user's *.ppk file (you can use
variables like %userprofile%), all done.
If the keyfile has a password set, the popup appears, if not, the key
is loaded.

Using pageant is actually very elegant, as you will have your key
available for all things ssh, i.e. WinSCP, PuTTY, X2Go, ... and only
have to specify it in one single location.

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJVU0SMAAoJEG7d9BjNvlEZ0EYIAK1jRtTMi30inCyuCIO3Ctzs
V37zZ7hD0LXTu4cIF/s1K9gsULn8YRwhlAT6E/ClINhTbDuexfAGl8D4EmNaHtr1
QtQ40humHWk5Ljca8vHBpFllmpJfGx7N7m115v97K9+SyIetFR2nruYWNrhijGbp
ed2FEnj9SGdywUhAe81HSRmrdr+52U/9buM6Fb6uoUVeVuCE8lOYS1Nt32BGMZZi
F5Qbi4EXQ1+w2n3fOdesDVDp5xM9o6h2AA6r9bYgYV1r2DK03fmXUEQGpZY0mXnD
0h7zd3AUM9OnfZpzpoAJ6u9h56aCJEJM+7VJRgOwx1KikvCkCAQ0Iw8N6y/7DRk=
=7h4G
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows

2015-05-13 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 13.05.2015 um 17:58 schrieb Schmid Andreas:

 Well, the reason is simply that I cannot install software on our
 machines myself. Therefore I want to install as little software on
 those machines as possible, as for every piece of software I have
 to go through the installation steps with our IT department. They
 for sure would install pageant as well, but it's just easier for
 all of us if there's just one .exe to execute, rather than two of
 them. And we probably won't run PuTTY etc. on those machines.

Wll, there's no need to install anything at all.  While both
X2GoClient and PuTTY come with installers, you can also just copy all
the files to a directory of your choice (say, a network share) and
start them from there.

You could, for example, install X2GoClient on a test machine, then copy
the contents of C:\Program Files\x2goclient (or whatever you picked as
destination) to a network share, say, \\server\share\x2goclient, drop
pageant.exe from PuTTY in there as well, and add a little batch file
that runs pageant, adds the key, waits a few seconds, then runs
x2goclient.

That way, all you have to roll out is a shortcut (*.lnk) file pointing
to the batch file on \\server\share\x2goclient.  No client-side
installation at all.

Of course, you could also try to use %userprofile% in the ssh keyfile
path within the session config, but I've never tried if that works as
intended, so no promises.

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJVU3ZXAAoJEG7d9BjNvlEZLz0H/3OBAeO670NLNBT7M3Gr7HEN
noB4A0WxRXqt3+pXvZFPYSN3ZhcLv0dAIG52bZ+8ubOmViGTMLtkt5wGn7j26iez
jrY146z7qNB0M8riFLOvIEDDufhdDKiSMkR6o+dmyjDdzAlEQycJlAulpuHV9wrr
VLomSfIQ4zVFm9UWUL0VLObUnmV414ZDHXDcIE9PQSXAYiTFn73y5Us7FwmEirmk
EaqginGUlSoIWoKUB382FVOiDTjxoXWtBhMyoT+kgZ4dCv0/G6W63/GhxiHh0BEB
+CkLyuBrOSsaUzaQXcV+C5XXSq/Qa+7cWTRTI9LtQoEzb12X9gPyWE23oIjhJNY=
=bUx0
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows

2015-05-13 Thread Schmid Andreas
  I'm trying to use the Try auto login feature on Windows, but
  it's not working (tested with X2Go Client 4.0.3.2). When
  connecting, I'm always asked for a password to open the key,
  but I actually didn't set any passphrase at all for my RSA key.
  I suspect that maybe X2Go Client does not even find the key.
  Which is the right location to put my RSA key in? Does X2Go
  Client consider any environment variables? (When I enter the
  actual path to the key in the Use RSA/DAS key for ssh
  connection field and unset the auto login option, the
  connection works.)
 
  If you do not specify a key file, and wish to use auto-login, you
  need to load the key into an SSH agent like Pageant.exe from the
  PuTTY suite before starting X2GoClient (or actually, before
  double-clicking on the session tile).
 
  Okay, so it's not as easy as I hoped. I think I'll keep specifying
  the key file then, as it's a very simple solution.
 
 What's so not easy with pageant? *headscratch*
 
 Put a shortcut to pageant in the autostart folder, and in the settings
 menu, tell it where to find the user's *.ppk file (you can use
 variables like %userprofile%), all done.
 If the keyfile has a password set, the popup appears, if not, the key
 is loaded.
 
 Using pageant is actually very elegant, as you will have your key
 available for all things ssh, i.e. WinSCP, PuTTY, X2Go, ... and only
 have to specify it in one single location.
 
Well, the reason is simply that I cannot install software on our machines 
myself. Therefore I want to install as little software on those machines as 
possible, as for every piece of software I have to go through the installation 
steps with our IT department. They for sure would install pageant as well, but 
it's just easier for all of us if there's just one .exe to execute, rather than 
two of them.
And we probably won't run PuTTY etc. on those machines.

Greets,
Andy
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


[X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows

2015-05-12 Thread Schmid Andreas
Hi List

I'm trying to use the Try auto login feature on Windows, but it's not working 
(tested with X2Go Client 4.0.3.2). When connecting, I'm always asked for a 
password to open the key, but I actually didn't set any passphrase at all for 
my RSA key.
I suspect that maybe X2Go Client does not even find the key. Which is the right 
location to put my RSA key in? Does X2Go Client consider any environment 
variables?
(When I enter the actual path to the key in the Use RSA/DAS key for ssh 
connection field and unset the auto login option, the connection works.)

Thanks a lot for your help.

Andy

___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user