Remote access to a suse system.

Hi!
I was wondering if there is way to access your system remotely, other than over telnet?
My problemis that I’m leaving for a long vacation and most definitely I’m not going to take my computer with me. But I have sites running off my server so I need to keep checking in all the time. Unfortunately I don’t have anyone who could attend to the computer in my absence.
if telnet is the only way, in that case would I beable to do such things as adding system users, changing or deleting users and most importantly restarting or starting services?
Thanks in advance

On 08/05/2010 10:06 AM, kachora wrote:
>
> Hi!
> I was wondering if there is way to access your system remotely, other
> than over telnet?
> My problemis that I’m leaving for a long vacation and most definitely
> I’m not going to take my computer with me. But I have sites running off
> my server so I need to keep checking in all the time. Unfortunately I
> don’t have anyone who could attend to the computer in my absence.
> if telnet is the only way, in that case would I beable to do such
> things as adding system users, changing or deleting users and most
> importantly restarting or starting services?
> Thanks in advance
>
>

Use ssh for CLI and NX if you want GUI.
And sure you remember that you can for example run YaST ncurses
version remotely just fine over ssh without GUI.

Vahis

http://waxborg.servepics.com
openSUSE 11.3 (x86_64) 2.6.34-12-default
10:02am up 9 days 2:14, 5 users, load average: 0.27, 0.27, 0.21

Vahis wrote:
> Use ssh for CLI and NX if you want GUI.
> And sure you remember that you can for example run YaST ncurses
> version remotely just fine over ssh without GUI.

additionally, i suggest you practice administering from afar before
you begin your vacation, or else you are likely to find bumps in the
information superhighway…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

And sure you remember that you can for example run YaST ncurses
version remotely just fine over ssh without GUI.

You can even run apps on the server with GUI. On the client side (from a terminal within your GUI) do:

xhost +

and then connect with ssh:

ssh -X -l username yourserver.tld

The parameter -X enables transmission of X11 connections. Response may be slow, depending on the bandwith of your connection, but it works.

On Thu, 2010-08-05 at 15:06 +0000, vodoo wrote:
> > And sure you remember that you can for example run YaST ncurses
> > version remotely just fine over ssh without GUI.
>
> You can even run apps on the server with GUI. On the client side (from
> a terminal within your GUI) do:
>
>
> Code:
> --------------------
> xhost +
> --------------------
>

No… wrong… n/a. You’d only need this if you were not tunneling
through ssh and you needed remote clients to interface directly with
your local X server and its managed display. It’s usually a security
violation and by default your local X server isn’t listening externally
to allow remote X client connects anyhow.

>
> and then connect with ssh:
>
>
> Code:
> --------------------
> ssh -X -l username yourserver.tld
> --------------------

This alone will tunnel the X protocol across to the X server managed
display.

You do need X11Forwarding enabled in your sshd_config.

>
>
> The parameter -X enables transmission of X11 connections. Response
> may be slow, depending on the bandwith of your connection, but it works.
>
>

Thanks guys for your advise!
This is the first time that I’d be accessing the system remotely therefore I have to get everything extremlyclear…
The server is running linux, but the computer which I’ll have available to access from will run windows.
So If I understand you rightly, I’ll need to telnet to my system and thencall up the x11 or use command line.?
Will it be possible for anyone to suggest some good tutorial about remote access or can someone help me understand the idea in detail like step by step?
Thanks in advance!

kachora wrote:

>
> Thanks guys for your advise!
> This is the first time
that I’d be accessing the system remotely
> therefore I have to get
everything extremlyclear…
> The server is running linux, but the computer
which I’ll have available
> to access from will run windows.
> So If I
understand you rightly, I’ll need to telnet to my system and
> thencall up
the x11 or use command line.?
> Will it be possible for anyone to suggest
some good tutorial about
> remote access or can someone help me understand
the idea in detail like
> step by step?
> Thanks in advance!
>
>

As the
others suggest use ssh NOT telnet to get to the CLI.

From Windoze you’ll
want PuTTY installed - I don’t believe Windoze comes with anything useful
like this as standard.

For GUI you can use ssh -X … to connect a remote
X session to a local one but then you’ll need X on your local PC - so not
Windoze then :(. You’ll have to look at vnc then.

If you won’t be able to
install the necessary software on the PC you’re connecting from then it’s
more difficult.

You could possibly install webmin on your linux box and
expose it across the internet which sounds like a security disaster
waiting to happen to me but would allow remote administration using a
browser.
If you do this stick a humongous password on webmin, restrict the
IP addresses allowed to connect (if possible) and restrict the webmin
interface to only the features you need and maybe (just maybe) you’ll be
Ok.

Alan

On 08/07/2010 09:06 AM, kachora wrote:
>
> Thanks guys for your advise!
> This is the first time that I’d be accessing the system remotely
> therefore I have to get everything extremlyclear…
> The server is running linux, but the computer which I’ll have available
> to access from will run windows.
> So If I understand you rightly, I’ll need to telnet to my system and
> thencall up the x11 or use command line.?

No.
In windows you can run an ssh client called PuTTY.
It does not even need to be installed, you can run it in any windows
machine as such (like from a USB stick)

> Will it be possible for anyone to suggest some good tutorial about
> remote access or can someone help me understand the idea in detail like
> step by step?
> Thanks in advance!
>
>

SERVER side:
In openSUSE server you can first install the YaST ssh configuration module.
YaST > Software > yast2-sshd

Then start yast again, > Network services > sshd configuration

Then System > System Services (runlevel) > enable sshd

Then Firewall > allowed services > secure shell > add

Now you should have it running.
(If you’re behind NAT, forward the port to you server)

CLIENT side:

Try first in your lan or even ‘localhost’
like ssh localhost
Then
ssh ‘server ip address here’

That’s it

And remember to practice locally, once you’re out of physical reach to
your server, you’re on your own there :slight_smile:

In windows use putty as client.
Remember, if you have dynamic IP you need some service like DynDns to
find your machine in the evil Internet.

Vahis

http://waxborg.servepics.com
openSUSE 11.3 (x86_64) 2.6.34-12-default
10:51am up 11 days 2:43, 7 users, load average: 0.06, 0.25, 0.24

Once again thank you all! Great help. I really appreciate!