Topic
12 replies Latest Post - ‏2013-10-16T13:50:44Z by LeonelSAA
dirkdigs
dirkdigs
51 Posts
ACCEPTED ANSWER

Pinned topic can't connect to v7000 using scp

‏2013-07-19T21:00:29Z |

i am using scp

using the superuser account with pasw0rd

getting restricted access. can not browse the file system but it does seem to make the connection.

what am i missing?

  • chriscanto
    chriscanto
    230 Posts
    ACCEPTED ANSWER

    Re: can't connect to v7000 using scp

    ‏2013-07-21T11:18:22Z  in response to dirkdigs

    SSH/SCP access to SVC/Storwize is intentionally restricted access only.  It's not possible to logon as you would to a Linux box, for example, and poke around the filesystems.

    What is it you're trying to achieve that's not working?

    Updated on 2013-07-21T11:18:48Z at 2013-07-21T11:18:48Z by chriscanto
    • dirkdigs
      dirkdigs
      51 Posts
      ACCEPTED ANSWER

      Re: can't connect to v7000 using scp

      ‏2013-07-22T05:05:57Z  in response to chriscanto

      update the hard drive firmware.

      • chriscanto
        chriscanto
        230 Posts
        ACCEPTED ANSWER

        Re: can't connect to v7000 using scp

        ‏2013-07-22T07:10:39Z  in response to dirkdigs

        Two options:

        1. If you only have a small number of drives, you can update the firmware one-by-one using the applysoftware CLI:

        http://pic.dhe.ibm.com/infocenter/svc/ic/index.jsp?topic=%2Fcom.ibm.storage.svc.console.doc%2Fsvc_applydrivesoftware.html

        As mentioned in that CLI help, the upgrade package should be copied to the '/home/admin/upgrade/' directory on the configuration node (i.e. using the system management IP).  So that would be something like:

        scp IBM2076_DRIVE_20130702 superuser@clusterip:/home/admin/upgrade

        To list files in that directory you can use the lsdumps CLI:

        lsdumps -prefix /home/admin/upgrade

         

        2. If you have several drives to do, use the "Multi Drive Upgrade Utility":

        http://www.ibm.com/support/docview.wss?uid=ssg1S4001077

         

        Hope that helps

        • dirkdigs
          dirkdigs
          51 Posts
          ACCEPTED ANSWER

          Re: can't connect to v7000 using scp

          ‏2013-07-23T21:05:05Z  in response to chriscanto

          still having trouble getting connected.

          i put the firmware file in the same directory as putty and ran the command.

          'scp IBM2076_DRIVE_20130702 superuser@clusterip:/home/admin/upgrade'

          it comes back with 

          "authenticity of host cant be established"

          RSA fingerprint is "blah blah blah"

          are you sure you want to continue connecting (yes/no)

          i select yes

          then 

          'Failed to add the host to the list of known hosts (/home/admin/.ssh/known_hosts)'

          ask for my password again

          then

          IBM2076_DRIVE_20130702: no such file or directory

          • chriscanto
            chriscanto
            230 Posts
            ACCEPTED ANSWER

            Re: can't connect to v7000 using scp

            ‏2013-07-23T21:57:06Z  in response to dirkdigs

            The scp command is intended to be run on a host system, to copy the upgrade package onto the SVC/V7000.

            It sounds like you're currently running putty to get a CLI session, then attempting to use scp on the SVC/V7000 itself.   This isn't the correct usage.

            If you want to copy the file from your windows machine up to the V7000 then you can use pscp, which is one of the utilities that comes with putty.  Run that on the host, rather than putty, to do a secure copy of the file from the host system to the V7000.

            • LeonelSAA
              LeonelSAA
              15 Posts
              ACCEPTED ANSWER

              Re: can't connect to v7000 using scp

              ‏2013-10-15T13:21:53Z  in response to chriscanto

              Hi Guy,

              I have the same issue with V3700.

              With the scp command returned:
              Failed to add the host to the list of known hosts (/home/admin/.ssh/known_hosts) and then

              no such file or directory.

               

              With the pscp command returned: rbash: pscp: command not found.

               

              Guys how can I do to solve it?

              please, help me.

              • chriscanto
                chriscanto
                230 Posts
                ACCEPTED ANSWER

                Re: can't connect to v7000 using scp

                ‏2013-10-15T14:44:53Z  in response to LeonelSAA

                Could you provide the command you're running and say where you're running it?

                It sounds like you're trying to run scp and pscp commands on the V3700 system itself, rather than on an external host.

                • LeonelSAA
                  LeonelSAA
                  15 Posts
                  ACCEPTED ANSWER

                  Re: can't connect to v7000 using scp

                  ‏2013-10-16T09:23:44Z  in response to chriscanto

                  right,

                  on my PC using putty, connecting to V3700.

                  using putty I connected to V3700 using IP of the V3700 and superuser then I ran the following commands:

                  scp MZOIT-WST01.cilix.co.mz\supportutils\putty\IBM_INSTALL_driveUpgrade_130610 superuser@192.168.4.205:/home/admin/upgrade

                  Asked me about connecting: put yes and then password. Return MZOIT...driveUpgrade_130610: No such file or directory.

                   

                  Next command:

                  pscp MZOIT-WST01.cilix.co.mz\supportutils\putty\IBM_INSTALL_driveUpgrade_130610 superuser@192.168.4.205:/home/admin/upgrade

                  Returned rbash: pscp: command not found.

                  Where and how I should run the command?

                  Attachments

                  • chriscanto
                    chriscanto
                    230 Posts
                    ACCEPTED ANSWER

                    Re: can't connect to v7000 using scp

                    ‏2013-10-16T09:33:43Z  in response to LeonelSAA

                    You should run those commands on your PC in order to copy the upgrade package from your PC to the V3700.

                    It looks like you're using Putty on a Windows machine, so the command to use is 'pscp'

                    There is a pscp.exe application installed under the Program Files\Putty directory.  If you don't have that on your system then you can download it from here:

                    http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

                    Then in the folder with pscp and the package you want to upload you'd run something along the lines of:

                    pscp IBM_INSTALL_driveUpgrade_130610 superuser@192.168.4.205:/home/admin/upgrade

                     

                    • LeonelSAA
                      LeonelSAA
                      15 Posts
                      ACCEPTED ANSWER

                      Re: can't connect to v7000 using scp

                      ‏2013-10-16T10:36:10Z  in response to chriscanto

                      Maybe I'm doing something wrong.

                      look the picture.

                      Can you instruct me step by step, because now I already don't know what do.

                      Attachments

                      • chriscanto
                        chriscanto
                        230 Posts
                        ACCEPTED ANSWER

                        Re: can't connect to v7000 using scp

                        ‏2013-10-16T11:07:57Z  in response to LeonelSAA

                        You're still trying to run the pscp on the V3700.  It's not installed there.  The pscp application is on your PC.  You'll need to run it from a command prompt on your PC.

                        • LeonelSAA
                          LeonelSAA
                          15 Posts
                          ACCEPTED ANSWER

                          Re: can't connect to v7000 using scp

                          ‏2013-10-16T13:50:44Z  in response to chriscanto

                          Now it ran with successful.

                          Thanks Chriscanto