sellmysins Posted January 22, 2021 Share Posted January 22, 2021 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 comment Share on other sites More sharing options...
chrizree Posted January 22, 2021 Share Posted January 22, 2021 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 comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.