LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Access another pc remotedly (https://www.linuxquestions.org/questions/linux-newbie-8/access-another-pc-remotedly-945844/)

linyc4u 05-19-2012 02:49 AM

Access another pc remotedly
 
Help..i wanna know how to access another computer remotedly

allend 05-19-2012 03:04 AM

Please tell us some more about what you want to achieve. What remote access protocols does the remote computer allow? Are wanting to upload and download files? Do you want a command shell? Do you want a full desktop display?

anil98433 05-19-2012 07:27 AM

you can access remote pc via different method like telnet, vncviewer(for graphical access), ssh but make sure that these services installed on your system any wey the cheap method is using ssh.
Using SSH, you are provided a shell nearly identical to one available locally. this provide all command line functionality
To ssh in remote computer u need
1. static ip address of that machine which u want to access remotly or locally
2. rights to access that machine

The First time when you login to the remotehost from a localhost, it will display the host key not found message and you can give “yes” to continue. The host key of the remote host will be added under .ssh/hostkeys directory of your home directory.
localhost$ ssh -l anil98433 remotehost.example.com

Host key not found from database.
Key fingerprint:
xabie-dezbc-manud-bartd-satsy-limit-nexiu-jambl-title-jarde-tuxum
You can get a public key’s fingerprint by running
% ssh-keygen -F publickey.pub
on the keyfile.
Are you sure you want to continue connecting (yes/no)? yes
Host key saved to /home/anil98433/.ssh/hostkeys/key_22_remotehost.example.com.pub
host key for remotehost.example.com, accepted by anil98433 Mon May xx xxxx xx:xx:xx -xxxx

anil98433@remotehost.example.com password:
remotehost.example.com$
now you can access that computer

The Second time when you login to the remote host from the localhost, it will prompt only for the password as the remote host key is already added to the known hosts list of the ssh client. and you will ask about only password if it is correct as you have enterd previously in first step then you get access the shell

localhost$ ssh -l anil98433 remotehost.example.com
anil98433@remotehost.example.com password:
remotehost.example.com$

To copy the files from remote computer ssh use scp protocol
Copy file from the remotehost to the localhost:
localhost$scp anil98433@remotehost.example.com:/ho...tehostfile.txt remotehostfile.txt

Copy file from the localhost to the remotehost:
localhost$scp localhostfile.txt anil98433@remotehost.example.com:/home/anil98433/localhostfile

you can also use Telnet service to access remote computer but before it you have to install telnetserver and rpm package from linux cd which you can install using
rpm -ivh telnet*
then
telnet <ip address of the computer u want to login>
enter user id:
enter passwd:
you can enter in to that


for vncviewer you must have to configure vncserver first which is long process. i hope these above two enough for you

linyc4u 05-29-2012 04:44 AM

but can you help me to get the vncviewer or ssh to download?

pixellany 05-29-2012 04:55 AM

Quote:

Originally Posted by linyc4u (Post 4690098)
but can you help me to get the vncviewer or ssh to download?

Please tell us what system (version of Linux--AKA "distribution" (distro) ) you are using. Things like ssh and vnc should be available using the package manager.

sanjay87 05-29-2012 05:11 AM

Quote:

but can you help me to get the vncviewer or ssh to download?
If ur using Centos : yum install sshd -- It could installed from default repository
if ur using ubuntu : apt-get install ssh --Package get install vis synaptic pacakge manager

chrism01 05-29-2012 07:17 PM

For RHEL/Centos its
Code:

openssh-server  # for server
openssh-clients # for client sw

Try
Code:

yum search ssh
to check

frankbell 05-29-2012 09:12 PM

The command for transferring files equivalent to ssh is scp.

See man scp for details.

linyc4u 06-04-2012 01:59 PM

hi guys,please can you help with the link to Brute force dictionary software?

TobiSGD 06-04-2012 02:03 PM

So first you are asking how to access computers remotely, then you ask for brute force software? I think your intention is clear. From the LQ Rules:
Quote:

Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.
You will get no answer here.

jefro 06-04-2012 08:03 PM

Time to close this one.


All times are GMT -5. The time now is 08:36 PM.