Results 1 to 3 of 3
Discuss SCP + password in one line at the Tools - Hackint0sh.org; hey im making an autoinstall gui thing that uses scp to put things on my ...
  1. #1
    Board Hero Array

    Join Date
    Nov 2007
    Location
    Mustang Ridge, Texas, United States
    Posts
    1,169
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    65

    Default SCP + password in one line

    hey im making an autoinstall gui thing that uses scp to put things on my iphone and i was trying to figure out how i would provide the password to the iphone in the same line so it doesnt ask for the password and mess things up lol

    ie: scp -r "myStuff" root@0.0.0.0:/Applications/ "password"

    i tried using
    root:alpine@0.0.0.0
    but i get ssh: Could not resolve hostname root: nodename nor servname provided, or not known
    lost connection

    Also i realize that this may be a security risk in some people's eyes but i dont mind bcuz theres no other malusers on my network besides me
    Last edited by truehybridx; 12-24-2009 at 08:19 PM. Reason: security clarification
    Get the latest info for NoAccSplash Here
    Currently it should work on iOS 4.x - 6.x
    If you'd like to help extend its functionality, the source is also available.



  2. #2
    Rookie Array

    Join Date
    Oct 2009
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    The 0.0.0.0 is giving the errors, you need to replace it with the IP address. Then, you can't run scp with a password like that, you have to set up keys and tell scp to use the key to login without a password. I have some information on my blog that may help.

  3. #3
    Board Hero Array

    Join Date
    Nov 2007
    Location
    Mustang Ridge, Texas, United States
    Posts
    1,169
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    65

    Default

    well i threw the 0.0.0.0 in as just generic stuff... shoulda put x.x.x.x but lol

    yea... i kinda figured that would be the case but its ok.. i made a lil script that makes the keys and sets up the iphone to use them since thats the only good way to do it

    THanks tho
    Get the latest info for NoAccSplash Here
    Currently it should work on iOS 4.x - 6.x
    If you'd like to help extend its functionality, the source is also available.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 03-02-2011, 08:40 AM
  2. Password help
    By andylaiphoto in forum Installation
    Replies: 0
    Last Post: 02-13-2010, 03:04 AM
  3. MacNN: Recover PDF Password for Mac finds any PDF password
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 03-27-2009, 10:30 PM
  4. [Audio line-out] Building a line-out cable
    By ahunter10 in forum Hardware
    Replies: 4
    Last Post: 06-30-2008, 01:01 AM
  5. [Audio line-out] Building Audio line-out cable
    By ahunter10 in forum Hardware
    Replies: 5
    Last Post: 02-29-2008, 11:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 03:54 PM.
twitter, follow us!