Linux help needed

Choi

It's been a while since I've worked on a command line Linux box and I was hoping somebody could answer some simple questions.

1) the input and output of sending an email.

2) the input and output of remote connecting to another linux box over the internet.

all I really need is an example of each.
Buns

In answer to number 2 -:

ssh -l remote-user remote-host

remote-user = username
remote-host = ip / name of remote computer

If you are using the same username on both the local and the remote computer you can leave out the "-l remote-user" bit.
Choi

Originally posted by Buns
In answer to number 2 -:

ssh -l remote-user remote-host

remote-user = username
remote-host = ip / name of remote computer

If you are using the same username on both the local and the remote computer you can leave out the "-l remote-user" bit. thanks a lot. by anychance do you know exactially what output you'll receive? I need this info for a fan fiction and I don't have a linux box to test this stuff out on.
Buns

Mon Aug 11 15:10:33 BST 2003-hostname.com
info@hostname.com for support
username@hostname.com's password:
Last login: Wed Jul 23 11:34:15 2003 from hostmask
username@compname:~$ ssh -l username targetip
The authenticity of host 'targetip (targetip)' can't be established.
RSA key fingerprint is 13:14:32:81:c8:b0:ef:ea:86:f7:c6:52:01:1d:44:7a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'targetip' (RSA) to the list of known hosts.
username@targetip's password:
[username@compname username]$

All the above I quickly got off two boxes I have access to. Being a nerd does have some benefits :)
freeyourmind

Nerds rule!!! :cool:
Choi

Thanks a bunch again Buns :D
Choi

so to get it straight, thats two different examples right?

and this would be a working example if it wern't for the dummy ip

ssh -l bluepawn 192.168.0.1
Mon Aug 11 11:43:33 EST 1999-192.168.0.1
info@192.168.0.1for support
bluepawn@192.168.0.1’s password:
Last login: Mon Aug 11 11:34:15 2003 from signat
bluepawn@192.168.0.1:~$
Buns

Yeah, my example was logging into one box, then using that box to login to another :)

Yours is fine :)

View Full Version : Linux help needed


Rehab - image hosting



Thank you for visiting the home of The Matrix - archive home.