Topic
  • 13 replies
  • Latest Post - ‏2015-07-03T14:20:16Z by PaulGWard
dirkdigs
dirkdigs
57 Posts

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
    292 Posts
    ACCEPTED ANSWER

    Re: can't connect to v7000 using scp

    ‏2013-07-23T21:57:06Z  
    • dirkdigs
    • ‏2013-07-23T21:05:05Z

    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

    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.

  • chriscanto
    chriscanto
    292 Posts

    Re: can't connect to v7000 using scp

    ‏2013-07-21T11:18:22Z  

    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
    57 Posts

    Re: can't connect to v7000 using scp

    ‏2013-07-22T05:05:57Z  

    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?

    update the hard drive firmware.

  • chriscanto
    chriscanto
    292 Posts

    Re: can't connect to v7000 using scp

    ‏2013-07-22T07:10:39Z  
    • dirkdigs
    • ‏2013-07-22T05:05:57Z

    update the hard drive firmware.

    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
    57 Posts

    Re: can't connect to v7000 using scp

    ‏2013-07-23T21:05:05Z  

    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

    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
    292 Posts

    Re: can't connect to v7000 using scp

    ‏2013-07-23T21:57:06Z  
    • dirkdigs
    • ‏2013-07-23T21:05:05Z

    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

    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
    19 Posts

    Re: can't connect to v7000 using scp

    ‏2013-10-15T13:21:53Z  

    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.

    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
    292 Posts

    Re: can't connect to v7000 using scp

    ‏2013-10-15T14:44:53Z  
    • LeonelSAA
    • ‏2013-10-15T13:21:53Z

    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.

    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
    19 Posts

    Re: can't connect to v7000 using scp

    ‏2013-10-16T09:23:44Z  

    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.

    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
    292 Posts

    Re: can't connect to v7000 using scp

    ‏2013-10-16T09:33:43Z  
    • LeonelSAA
    • ‏2013-10-16T09:23:44Z

    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?

    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
    19 Posts

    Re: can't connect to v7000 using scp

    ‏2013-10-16T10:36:10Z  

    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

     

    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
    292 Posts

    Re: can't connect to v7000 using scp

    ‏2013-10-16T11:07:57Z  
    • LeonelSAA
    • ‏2013-10-16T10:36:10Z

    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.

    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
    19 Posts

    Re: can't connect to v7000 using scp

    ‏2013-10-16T13:50:44Z  

    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.

    Now it ran with successful.

    Thanks Chriscanto

  • PaulGWard
    PaulGWard
    4 Posts

    Re: can't connect to v7000 using scp

    ‏2015-07-03T14:20:16Z  

    pscp wouldn't launch so this is how I solved this from the information given above.

     

    I have a V7000 Unified.

    Downloaded the file, and stored it on the unified file system, copying from windows to a CIFs export.

    I logged in as Admin to filemanager

    Navigated to the folder with the file in it

    then ran the command provided by @chriscanto :

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

    entering the V7000 superuser password when prompted.

     

    After copy was complete I connected to the V7000 control enclosure as superuser and ran the second command by @chriscanto :

    lsdumps -prefix /home/admin/upgrade

    The file shows up as expected.

     

    All ready to do the upgrade tomorrow!