Jump to content

Portal-Login: no such file or directory


Recommended Posts

after running 

scp -r portal-login root@172.16.42.1:/root/portals/

and entering the password for my pineapple vii i get prompt with "Portal-Login: no such file or directory" im not sure how get the evil portals to the pineapple 

Link to post
Share on other sites

It looks like a safer bet for you to give the absolute path to the source when doing the scp. You can of course just use the directory name "stand alone", but then you need to be positioned correctly in the file system before executing the scp command. Your scp command states "portal-login" and the error message "Portal-Login". That doesn't look correct. What system/OS are you scp'ing from? Windows? Linux? Mac? Upper and lower case matters in the Linux/Unix world (nothing most Windows users are familiar with).

Either
scp -r /home/user/Temp/* root@172.16.42.1:/root/portals/.
if the portal-login directory is the only directory from where you are scp'ing

or
scp -r /home/user/Temp/portal-login/* root@172.16.42.1:/root/portals/portal-login/.
but then you need to create the "portal-login" directory on the Pineapple first
 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...