LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-26-2011, 12:38 AM   #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, 02:23 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
ssh ?
 
Old 07-26-2011, 03: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, 03: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, 03: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, 03: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, 03: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, 03: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, 04: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, 06: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, 04: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, 10: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:36 AM
Remote Desktop for Linux Taikon Slackware 1 12-10-2006 07:36 PM
remote desktop in linux ASHHSA Linux - Networking 7 02-05-2006 10:32 AM

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

All times are GMT -5. The time now is 09:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration