SSH Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shana07
    Contributor
    • Jan 2007
    • 280

    SSH Question

    Good day all!
    Do I have to make a new topic if my question is in the same issue;)?

    I just installed SSH Secure Shell & created profiles into my XP machine.
    Then my lecturer has asked me to transfer our program into it and run it using Linux. I'm totally blurred about Linux and have very basic knowledge to operate from SSH & Linux.

    My questions are:
    1. How am I supposed to install the program (open source from SourceForge) using SSH
    2. How about install it in Linux then?

    I don't know whether I have explained the questions clearly but please tell me what should I do in steps. Feel free to give any comments.

    Thanks all.

    Sherry
  • shana07
    Contributor
    • Jan 2007
    • 280

    #2
    Ssh

    Good Day all!

    Please teach or share with me any tutorials on how to operate Linux from SSH. Actually I'm confused after my lecturer has asked me to install a java program (opensource) into Linux from SSH. I'm using XP.
    What shall I do....and sorry to ask this question 'what's the relation between Linux & SSH' into my XP machine? ;)

    thanks guys...

    Comment

    • cybervegan
      New Member
      • Jan 2007
      • 36

      #3
      SSH stands for Secure SHell - it's a secure, remote text-shell (like the Windows cmd prompt) that you can safely use over the internet. It encrypts everything sent between the client and the server, even passowrds.

      You'd need to get an SSH client installed (check on sourceforge) in order to log in to your remote server. When you first contact a server, the two machines exchange encryption keys, and after that, all comms are encrypted.

      What SSH will do is allow you to get a remote command window to the linux server, from your windows machine. You can then enter commands at the terminal, which are run by the linux machine - such as installing or running a program.

      hth
      -cybervegan

      Comment

      • Motoma
        Recognized Expert Specialist
        • Jan 2007
        • 3236

        #4
        shana07,
        I have merged your two related questions into one thread.

        Comment

        • Motoma
          Recognized Expert Specialist
          • Jan 2007
          • 3236

          #5
          SSH is both a tool and a Protocol. The most common use for SSH is to connect to a remote machine (server) from your local computer (client). This allows you to utilize all of the functionality of your server, without needing to physically be in front of it.

          When you professor instructed you to install a Java program in Linux, I am assuming he/she provided you with the following things: a server, a username, and a password.

          You will need to download an SSH client (PuTTY and Poderosa are both excellent choices) and use the server address, username, and password to log in.

          You will then need to use either wget or curl to download the program.

          You can type 'man wget' or 'man curl' to get more information on these two tools.

          After having downloaded your application, you will need to read it's specific documentation and follow the installation instructions.

          May I ask what application you were instructed to download and install? And what class this is for?

          Comment

          • shana07
            Contributor
            • Jan 2007
            • 280

            #6
            Originally posted by cybervegan
            SSH stands for Secure SHell - it's a secure, remote text-shell (like the Windows cmd prompt) that you can safely use over the internet. It encrypts everything sent between the client and the server, even passowrds.

            You'd need to get an SSH client installed (check on sourceforge) in order to log in to your remote server. When you first contact a server, the two machines exchange encryption keys, and after that, all comms are encrypted.

            What SSH will do is allow you to get a remote command window to the linux server, from your windows machine. You can then enter commands at the terminal, which are run by the linux machine - such as installing or running a program.

            hth
            -cybervegan
            Understood about the SSH now. thanks to you..

            Comment

            • shana07
              Contributor
              • Jan 2007
              • 280

              #7
              Originally posted by Motoma
              shana07,
              I have merged your two related questions into one thread.
              No worries and thanks

              Comment

              • shana07
                Contributor
                • Jan 2007
                • 280

                #8
                oh god. i can't reply mssg here. testing

                Comment

                • shana07
                  Contributor
                  • Jan 2007
                  • 280

                  #9
                  Motoma,
                  I tried to reply mssg many times but couldn't get through.
                  Already removed some chars (sensitive) but still...
                  Help please....I need to reply to your mssg...

                  Comment

                  • shana07
                    Contributor
                    • Jan 2007
                    • 280

                    #10
                    friend, hope you could teach me on how to operate java in Linux now.seeming that I've downloaded my java application program - jpf4 from sourceforge...w ithout use curl or wget. because I've been using the application for a couple of months in XP enviroment.

                    I have java application program in my created folder through SSH.
                    But I have no idea what to do to set the path, all those prerequisites such ANT, JUNIT in Linux. ....thanks a lot.

                    Comment

                    • shana07
                      Contributor
                      • Jan 2007
                      • 280

                      #11
                      It seems that I couldn't transfer some files into SSH.
                      I have successfully transferred some files like: java application program (hugh) & docs. I tried to transfer 1.7 apache-ant-1.7.0-bin.tar, curl-7.16.1 from my windows folder but it's not work. Any limitations about ssh?

                      The java application needs to be built with ant & also need junit.
                      Since I can't install ant, therefore I can't run the java program into linux machine..Need some advice please. thx

                      Comment

                      • Motoma
                        Recognized Expert Specialist
                        • Jan 2007
                        • 3236

                        #12
                        Originally posted by shana07
                        I tried to transfer 1.7 apache-ant-1.7.0-bin.tar, curl-7.16.1 from my windows folder but it's not work. Any limitations about ssh?
                        What didn't work? What error messages were you getting?

                        Comment

                        • shana07
                          Contributor
                          • Jan 2007
                          • 280

                          #13
                          Originally posted by Motoma
                          What didn't work? What error messages were you getting?
                          Status error while transferring Apache folder from my Windows.
                          I can see on the SSH window 'connected to my campus link - x.y.edu.au'.

                          My lecturer did ask me either I have set up class path (java & ant)?
                          Because inside the tool includes with ant. How to set up classpath in linux from ssh? thanks again....

                          Comment

                          • Motoma
                            Recognized Expert Specialist
                            • Jan 2007
                            • 3236

                            #14
                            Originally posted by shana07
                            Status error while transferring Apache folder from my Windows.
                            I can see on the SSH window 'connected to my campus link - x.y.edu.au'.

                            My lecturer did ask me either I have set up class path (java & ant)?
                            Because inside the tool includes with ant. How to set up classpath in linux from ssh? thanks again....
                            What SSH client are you using?

                            Comment

                            • shana07
                              Contributor
                              • Jan 2007
                              • 280

                              #15
                              SSH Secure Shell (TM) - non commercial version.
                              Version 3.2.5.
                              Supplied by my lecturer

                              Comment

                              Working...