This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to connect to Astaro with SSH ?

Hi,

I am trying to install a log in client on the Astaro machine in order to connect to my ISP, but I notice that I am unable to mount a CD-Rom or the LS120 drive.

I have the necessary file on my PC and on CD, but I cannot find a way of installing or transfering it to the Astaro machine.

Being new to Linux, I am having trouble connecting to the Astaro PC via SSH.

If I type ssh -l loginuser 192.168.2.100 from this PC (192.168.2.2) I get an error message as follows:-

"Recieved disconnect from 192.168.2.100: 2: Protocol error: expected packet type 30, got 34"

I am able to ping each machine and am able to log in remotely to the Astaro PC for admin.

Can someone give me a few tips on how I can connect in order to transfer the login RPM file, or alternatively, point me in the right direction of how else I can load this file onto the Astaro machine?


This thread was automatically locked due to age.
Parents
  • quote:
    Originally posted by Paul:
    Hi,

    I am trying to install a log in client on the Astaro machine in order to connect to my ISP, but I notice that I am unable to mount a CD-Rom or the LS120 drive.

    I have the necessary file on my PC and on CD, but I cannot find a way of installing or transfering it to the Astaro machine.

    Being new to Linux, I am having trouble connecting to the Astaro PC via SSH.

    If I type ssh -l loginuser 192.168.2.100 from this PC (192.168.2.2) I get an error message as follows:-

    "Recieved disconnect from 192.168.2.100: 2: Protocol error: expected packet type 30, got 34"

    I am able to ping each machine and am able to log in remotely to the Astaro PC for admin.

    Can someone give me a few tips on how I can connect in order to transfer the login RPM file, or alternatively, point me in the right direction of how else I can load this file onto the Astaro machine?



    Have you turned on SSH in webadmin and allowed a connection from either the eth0 network or the individual IP 192.168.2.2?
  • Nice idea but I think he is using *nix as a client with SSH client built in.
Reply Children
  • I have enabled SSH (green dot) in the Admin, eth0 is available (I can ping between the two machines) and as far as I understand, I have 192.168.2.2 as a valid entry in the Networks table.

    When I type sshd to start ssh on the Astaro machine it returns:-

    "Disabling protocol version 2. Could not load host key"

    Am I starting ssh correctly even !?
  • I received the same problem with 2.016, but if you run the updates it will fix that for you.  Also, with SSH try ssh 192.168.2.100 -l loginuser, some clients prefer that way more.

    If that does not let you in go to the .ssh directory in your home directory and there will be a hosts file, open it up and remove the line that starts with your firewall IP.  

    notoriousiroc  [:)]
  • As I am unable to install my login client that enables me to connect to the Internet, I cannot update Astaro.

    The only IP address that is refered to in the ssh_config file is 0.0.0.0.
  • You may also need to force ssh v1 on the client side.  If you have an ssh client installed on Linux, the command is usually something like:
    ssh 1 -l loginuser 

    Alternatively, you can try using scp, or secure copy -- it uses ssh to connect and copy.  You use it like this:
    scp localfile loginuser@remotehost:/path/on/destination/

    This should work as well.  "man ssh" or "man scp" is also quite helpful if you variant is slightly different...

    Hope this helps!
  • Try starting sshd from inet.d first...

    /etc/init.d/sshd start

    ...or something like that.  That script makes you a host key.

    Then try to connect with a client and it should work.

     [:)]
  • His message directly point to protocol mismatch. use:
    #ssh -l loginuser -1  . 
    I had same problem and this resolved it.