Another ssh question

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I want to access a openSUSE pc on my work using ssh and start
kopete, but I have to pass through the company proxy and another PC

The openSUSE PC isn’t accesible from internet, so ssh -X
myUser@openSUSE_PC kopete & don’t work

myPC → internet -->| proxy |–> server (with ssh) → openSUSE

how can I do that???


VampirD
No in elenath hîlar nan hâd gîn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAktuu1cACgkQJQ+0ABWtaVmjzQCfTJKgc8+KGF6BzoCRzk4gydxQ
sRQAnRhi5WLa9qZ0MUgOxn2elRQnyftR
=BaBP
-----END PGP SIGNATURE-----

I guess you can’t unless you have an ssh tunnel from the proxy to your openSUSE box, but this would probably make your sysadmin very unhappy. However, you can do it from the inside out (see Tunneling SSH over an HTTP-Proxy Server).

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Or, again from the inside out, SSH to your home machine from work (means
you must allow that type of thing at home) and then reverse tunnel back
into your work box so then you SSH from your home box to itself (on a port
of your choosing) and it actually accesses your work box where you then
login and do whatever you want.

Good luck.

vodoo wrote:
> I guess you can’t unless you have an ssh tunnel from the proxy to your
> openSUSE box, but this would probably make your sysadmin very unhappy.
> However, you can do it from the inside out (see ‘Tunneling SSH over an
> HTTP-Proxy Server’ (http://www.mtu.net/~engstrom/ssh-proxy.php)).
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLbuPvAAoJEF+XTK08PnB5AyMP/2N2Mqqu01bNqSHuVCmPicdv
+7E9VyWFQa4ozYBFrZjR0LHnQrZA1mybbDjsMAtTPNkoNxmR0Q4xXUQIrz8Y1ePs
YGKk/Qc/nFC8xVHg7VdSdU+T5quUqJ3XnupGCk8WGycPEBQ+XPnUmUsyjib0c5Bu
R4efs8krgkM2zRq9aVQwSrCn2ZHCrnoMebj5oMTrICxypfT/IATlZjrz7gHGo9HG
uap6yFdMJuP3yydNW9PS/AWDLp0z526kTo3OXhV4PlbM0Gm+1kJ1mxYJMb8kFHya
xgkDmaYwLWaKJX3hcIbw/LDvdOHlhPDZSoqu3q5Y5dYvoH3kUtm/HBrPCvFTvR5y
OAFJZeUlPdvSNoieVVK+yeaM4/ErV6C6RpHvSr7yq7CNGEQb+7VF1OOnOjyBwhBd
QWxJr9OE8ZoptNiSclOuuloXhcpyhdrxahTEnuFlGGKqdTXkGmMjIpLgdY0n0l6E
ks6GAy0HiE9Wrv6urhsRhmlYyXj2OTVvemnjCXgpcqqcKhKbxQws3Hi9Jzc0eFVX
g3s+ly2zb86AczWPGrnuAr/OeNWM7sLj0Th/t23/c+V8rlNlRsA4YtllUEcJKZNY
OAHXPwUvlIAEGd5ujXwchxjplVDZTkA6zm5QiHetCvJQEwcuuaumqHfisJloQr0z
VrW/FB0qWB69GMMEwsqe
=Oo32
-----END PGP SIGNATURE-----

What Vodoo and Ab said. Think about it: if you could easily set things up at work so that your machine exposes a server to the Internet, you’ve bypassed all of the security and firewalling that your SysAdmin went to a lot of trouble to put in place. :slight_smile:

I.e., if anyone inside your network could expose a server, given the arrangement you’ve described, then what’s the point of having that arrangement?

You’ll either have to do what vodoo and ab have suggested, or go to your system administrator with hat in hand and convince him/her that you really need to expose SSH to the outside world. Don’t be surprised if you get a cold stare, though … …

Yes, considder your company’s policies on remote access. You could find yourself in a bit of trouble one day :wink:

Why would you even want to log on to Kopete on a remote pc? You should be able to connect to some messenger service from the pc you currently have access to.