LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2011, 11:38 PM   #1
je_syd
LQ Newbie
 
Registered: Jul 2011
Location: Sydney
Distribution: Debian
Posts: 13

Rep: Reputation: Disabled
Linux Remote Desktop


I have logged into one Linux VM and I want to test remote access to another Linux server on the same network but I cannot recall the Linux application to call??

je_syd
 
Old 07-26-2011, 01:23 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
ssh ?
 
Old 07-26-2011, 02:01 AM   #3
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
vnc server, tight vnc, etc
 
Old 07-26-2011, 02:38 AM   #4
je_syd
LQ Newbie
 
Registered: Jul 2011
Location: Sydney
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks chrism01 and kasl_33 for your feedback. I'll try ssh first and see how I go.

je_syd
 
Old 07-26-2011, 02:40 AM   #5
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
keep in mind that remote desktop (vnc) is GUI and SSH is command line.
 
Old 07-26-2011, 02:50 AM   #6
je_syd
LQ Newbie
 
Registered: Jul 2011
Location: Sydney
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yes I'd prefer the command line. However, when I type man ssh at the command line I get the error message: ssh command not found

I guess I'll have to install it - the next challenge!!!

John
 
Old 07-26-2011, 02:52 AM   #7
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
if you're using debian, then do this as root:

apt-get update
apt-get install openssh
 
Old 07-26-2011, 02:54 AM   #8
je_syd
LQ Newbie
 
Registered: Jul 2011
Location: Sydney
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks Kris, I'll give that a go.

John
 
Old 07-26-2011, 03:07 AM   #9
je_syd
LQ Newbie
 
Registered: Jul 2011
Location: Sydney
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: Disabled
Kris, that seems to do part of the trick. The command apt-get install openssh seems to run OK but apt-get update fails to resolve the url calls. I seem to have a problem getting through to the internet from that VM but I can ping local machines OK but not external ip addresses or url's. I'll have a play with that later.

This may also be why I am not getting a response when I type: man ssh

John
 
Old 07-26-2011, 05:03 PM   #10
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
So you wouldn't be able to successfully install openssh unless you could connect to the internet. apt-get update and apt-get install both use the same servers over the internet.

Can you open your web browser and access linuxquestions.org from that computer? If so, then try apt-get update again, then apt-get upgrade to upgrade your software, then apt-get install openssh.

If all that works, then do this:

ssh website.com

or

ssh 192.168.x.x (or whatever your IP address is).
 
Old 07-27-2011, 03:32 AM   #11
je_syd
LQ Newbie
 
Registered: Jul 2011
Location: Sydney
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yes I was able to execute those commands successfully on a second Linux machine which has internet access. The VM Linux machine which I was originally using can see the local network but not the internet - that's tomorrow's task!!

Many thanks,

John
 
Old 08-30-2011, 09:03 AM   #12
webby
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Unhappy I am a complete Linux novice but having similar problems

I have spent hours trying to get up to speed with Linux, Fedora 12, and get access to our server from outside our network. I seem to be going in circles. I don't seem to be able to download any programmes from anywhere but can ping external sites. I connect to the terminal using Putty on a Windows XP laptop, but through the same router. Once I try from outside to replicate this I get connection errors.

I have set up, cleared and reset the iptables and switched sshd on and off so often now, it is rediculous.

Please, can anyone direct me further on what else it could be?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH shell disabled + Remote desktop NX (or another remote desktop software) zoltan32 Linux - Software 2 04-12-2011 03:36 AM
Remote Desktop for Linux Taikon Slackware 1 12-10-2006 06:36 PM
remote desktop in linux ASHHSA Linux - Networking 7 02-05-2006 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration