Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • But it require password. How can i fix this issue? Commented Aug 30, 2016 at 8:59
  • @ankitkumar How can I know? You need to provide the correct password to your virtual machine.
    – techraf
    Commented Aug 30, 2016 at 9:01
  • 1
    Sorry i asked stupid question. i logged in successfully by passing username and entering password. Commented Aug 30, 2016 at 9:02
  • If you're automating this while at the same time increasing security, you can also turn on Public Key Authentication instead of password authentication.
    – comfreak
    Commented Aug 30, 2016 at 10:12
  • I cannot scp file and there is permission denied while i can login using the same username and passowrd.scp -p 2222 data.sql user@localhost:file.txt Commented Aug 30, 2016 at 10:38