Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 44

Thread: I need help networking my 2 computers

  1. #21
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323

    Re: some progress....

    Quote Originally Posted by bob58
    So if the response I get by typing at my desktop [server] "/etc/init.d/ssh start"
    is" Starting OpenBSD Secure Shell server: sshd. " does that mean its working? Is that the right response i am supposed to get? If so, what do I do to look at the files/folders on the client [laptop]? And vice versa......bob58
    Well, I'd say it's a bit strange it didn't ask for a password. You could start with connecting as user at the server to the server via ssh just to check that it works. Then try the same from the client. To find out if you're connected you can just do a ll to list files, I suppose you know what files you have on which computer. Or do uname -a or whatever. Did you manage pinging as Baldyeti suggested?
    If you get connected I suggest you try with fish next.
    Let me just run a sample to show how ssh works.

    I'll start it with:
    root@fujibox:~# /etc/init.d/ssh start
    Starting OpenBSD Secure Shell server: sshd.


    Then check that it's waiting for a connection:
    root@fujibox:~# nmap localhost

    Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-08-21 19:47 EEST
    Interesting ports on mrk-fujibox (127.0.0.1):
    (The 1659 ports scanned but not shown below are in state: closed)
    PORT STATE SERVICE
    22/tcp open ssh

    Nmap run completed -- 1 IP address (1 host up) scanned in 1.260 seconds


    Or with:
    root@fujibox:~# netstat -tap|grep LISTEN
    tcp6 0 0 *:ssh *:* LISTEN 5047/sshd


    Then connect as user:
    markus@fujibox:~$ ssh -l jarkko fujibox
    Password:
    Linux fujibox 2.6.6-16.06.04 #1 Wed Jun 16 22:14:41 EEST 2004 i686 GNU/Linux

    No mail.

    jarkko@fujibox:~$ logout
    Connection to mrk-fujibox closed.
    markus@fujibox:~$


    I stop it with:
    root@fujibox:~# /etc/init.d/ssh stop
    Stopping OpenBSD Secure Shell server: sshd.


    And it's stopped:
    root@fujibox:~# nmap localhost

    Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-08-21 19:53 EEST
    All 1660 scanned ports on fujibox (127.0.0.1) are: closed

    Nmap run completed -- 1 IP address (1 host up) scanned in 1.211 seconds

  2. #22
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    still not working

    Hi Marcus.....OK I did what you suggested but it seems to hang up when i try to log in to my laptop...heres what comes up:

    Bob@Home:~$ su
    Password:
    root@Home:/home/Bob# /etc/init.d/ssh start
    Starting OpenBSD Secure Shell server: sshd.
    root@Home:/home/Bob# nmap localhost

    Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-08-21 13:07 EDT
    Interesting ports on Home (127.0.0.1):
    (The 1651 ports scanned but not shown below are in state: closed)
    PORT STATE SERVICE
    22/tcp open ssh
    53/tcp open domain
    68/tcp open dhcpclient
    111/tcp open rpcbind
    904/tcp open unknown
    919/tcp open unknown
    953/tcp open rndc
    2049/tcp open nfs

    Nmap run completed -- 1 IP address (1 host up) scanned in 0.815 seconds
    root@Home:/home/Bob# ssh -l Bob Gateway

    OK heres where it just displays a blank line after I log in, right above here^

    Am I logging in right? Something seems funny here. My Hostname for desktop [server] is Home
    and my Hostname for laptop [client] is Gateway

    The prompt doesnt look right or something.....well i seem to be progressing a little anyway! I logged in by typing:

    root@Home:/home/Bob# ssh -l Bob Gateway

    Is that right?

  3. #23
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323

    Re: still not working

    Quote Originally Posted by bob58
    Am I logging in right? Something seems funny here. My Hostname for desktop [server] is Home
    and my Hostname for laptop [client] is Gateway

    The prompt doesnt look right or something.....well i seem to be progressing a little anyway! I logged in by typing:

    root@Home:/home/Bob# ssh -l Bob Gateway

    Is that right?
    You want to log in to the server, right? Then you need:
    ssh -l login_name_as_user_on_server server_name
    As I understood you configuration it would be:
    ssh -l Bob Home
    And you don't want to login as root!

  4. #24
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    whew!!!!

    Hi again Marcus! Wow this is HARD!!! lets see....OK I am not sure what I am doing.....I did the following from the desktop:

    root@Home:/home/Bob# ssh -l Bob Home
    The authenticity of host 'home (127.0.0.1)' can't be established.
    RSA key fingerprint is 37:3a:a0:11:d6:f5:25:21:3e:5b:8e:7c:7c:95:30:11.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added 'home' (RSA) to the list of known hosts.
    Password:
    Warning: No xauth data; using fake authentication data for X11 forwarding.
    Welcome to Knoppix (Kernel 2.4.26)


    Bob@Home:~$


    Not sure what this means.....Am I logged in to the desktop computer via ssh to myself???? I dont know what to do here! It seems there was some kind of error but i seem to be logged in to myself...it did ask for password this time. OK so i dont want to do this as root....OK...so I am now at "Bob@Home".......sorry to sound so confused.....well one step at a time....what are your thoughts at this point? bob58

  5. #25
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Well, the connection worked and now is the time to try it from the client with the exactly same command, or try with IP instead of Home if it doesn't work.

  6. #26
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    aaarrrggghhhh

    Hi Marcus....OK let me start at beginning as I am now more confused than before. I apparently need instructions for a MORON cause I am missing something! I will do this by numbers:
    1. bring up Konsole on Desktop Computer
    2. log in as Root and do: /etc/init.d/ssh start
    3. That brings up "starting open BSD secure shell server"
    4. I did "nmap localhost" to check if its waiting for connection.
    5. This is where I am confused: connect as user: "ssh -l Bob Home [or IP if Home does not work]....But why do I want to connect to Home [server, or desktop] when I am already on that computer? If I go to laptop [client] and try to do the same once I have done it on desktop, it just does a carraige return to a blank line and if i type in something, and i am not sure what to do at this point, it just returns to a blank line.
    6. so do i type in " /etc/init.d/ssh start" on Desktop computer to begin with.....then go to laptop and type in "ssh -l Bob Home" to connect to the desktop? if i do this i get blank lines after the command. And it doesnt ask for password.....

  7. #27
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237
    This is what I get when I "ping" the laptop [198.168.1.102] from Konsole from Desktop:

    Bob@Home:~$ ping 198.168.1.102
    PING 198.168.1.102 (198.168.1.102): 56 data bytes


    And I get the same thing when I "ping" desktop [198.168.1.100] from laptop

    As far as using "fish" and Konqueror" I have not succeeded. I may need more detailed instructions.....The main problem is I cant connect as user to one computer from another, but there apparently seems to be a connection of some sort....When I connect as user, I do this:

    ssh -l Bob Home which seems to work when I do this from the desktop to connect as user to myself....it asks for password and goes to a command prompt....but I dont know what to do with it from there.
    But if I try the same thing on laptop, seeing that I can connect to myself on desktop, I type in the same command : " ssh -l Bob [username on both computers is the same] Home to try to connect to desktop, but i get a carraige return and blank line and anything i type in at this point returns a blank line!!!

  8. #28
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    froom the client computer the comand below works for me:
    Code:
    ssh username@ipnumber
    as yoiu mentioned fish:
    Code:
    fish://username@ipnumber/home/username
    works.
    ipnumber is replaced with
    192.168.1.100 for the laptop (which i assume is the client)
    and
    192.168.1.102 for the desktop (which in turn is the server)

  9. #29
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323

    Re: aaarrrggghhhh

    Quote Originally Posted by bob58
    Hi Marcus....OK let me start at beginning as I am now more confused than before. I apparently need instructions for a MORON cause I am missing something! I will do this by numbers:
    1. bring up Konsole on Desktop Computer
    2. log in as Root and do: /etc/init.d/ssh start
    3. That brings up "starting open BSD secure shell server"
    4. I did "nmap localhost" to check if its waiting for connection.
    So far so good.

    5. This is where I am confused: connect as user: "ssh -l Bob Home [or IP if Home does not work]....But why do I want to connect to Home [server, or desktop] when I am already on that computer?
    This was just to check that the connection to the server works.

    If I go to laptop [client] and try to do the same once I have done it on desktop, it just does a carraige return to a blank line and if i type in something, and i am not sure what to do at this point, it just returns to a blank line.
    Something wrong there, it should work just as it did when you tried it on the desktop->desktop connection.

    6. so do i type in " /etc/init.d/ssh start" on Desktop computer to begin with.....then go to laptop and type in "ssh -l Bob Home" to connect to the desktop? if i do this i get blank lines after the command. And it doesnt ask for password.....
    Perhaps you didn't wait for long enough, sometimes it takes a while, although it shouldn't.
    Did you manage to ping your desktop from the laptop?????

    EDIT: Rats, I was too slow at typing
    If the username is Bob on both computers you can just use ssh IP

  10. #30
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237
    Hey marcus thanks for all the help...i really appreciate it....but i am going to take a break for now and will attempt this later!!!!! need some fresh air!!!!! bob

Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 04-17-2005, 11:24 PM
  2. New to computers and new to Linux
    By smileeb in forum General Support
    Replies: 9
    Last Post: 01-15-2005, 05:48 AM
  3. Two computers, one ip, one port.
    By hernan in forum Networking
    Replies: 9
    Last Post: 01-14-2005, 02:42 AM
  4. Networking 2 computers with crossover cable
    By rail_man in forum Networking
    Replies: 2
    Last Post: 12-29-2004, 01:05 PM
  5. Computers have Architecture??
    By net_benjo in forum General Support
    Replies: 3
    Last Post: 09-04-2004, 08:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



Crucial  DDR3 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3L 16G DDR3L picture

Crucial DDR3 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3L 16G DDR3L

$21.95



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99



A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM

$87.96