0

This refers to my previous question ..

How to SSH to s virtual machine from s Linux host?

i could login but when i trasnfer files using scp it does not work.

scp -p 2222 temp.sql  user@localhost:temp
user@localhost's password: 

i tried filezilla also but it does not work.

enter image description here

Permission denied, please try again.

While i am using the same username and password. May i know how can i fix this pblm.

  • your virtual machine is localhost? Do not connect through Quickconnect, but select SFTP when doing proper connect. – Jakuje Aug 30 '16 at 11:03
0

Try on port 2222:

scp -P 2222 temp.sql  user@localhost:temp
|improve this answer|||||
  • sorry it does not work.... – ankit kumar Aug 30 '16 at 10:51
  • @ankitkumar login into the virtual machine on second terminal. Check that you have write permissions on the folder you'll end up in. – Marek Rost Aug 30 '16 at 10:59
  • yes i have permision to do that as i just created one file(data) using touch data – ankit kumar Aug 30 '16 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.