1

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.

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

1 Answer 1

0

Try on port 2222:

scp -P 2222 temp.sql  user@localhost:temp
3
  • sorry it does not work.... Commented Aug 30, 2016 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
    Commented Aug 30, 2016 at 10:59
  • yes i have permision to do that as i just created one file(data) using touch data Commented Aug 30, 2016 at 11:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .