LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-10-2013, 06:58 AM   #1
sudhakaranR87
LQ Newbie
 
Registered: Oct 2013
Location: Bangalore
Distribution: Cent-OS 6
Posts: 1

Rep: Reputation: Disabled
SCP - Permanently added to list of known hosts...Permission Denied (Public Key).


ubuntu@ip~$ scp -r wpintalio_stage_120913.sql ubuntu@***.****.com:/home/ubuntu/
The authenticity of host '***.****.com (***.**.**.*)' can't be established.
ECDSA key fingerprint is 97:bb:66:d3:05:6c:08:6e:fd:66:13:b2:4f:ad:05:29.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '***.****.com,***.**.**.*' (ECDSA) to the list of known hosts.
Permission denied (publickey).
lost connection
 
Old 10-10-2013, 07:40 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
And your question is ............ ?

Seems ***.****.com only allows public key authentication, and your key is not allowed. You should fix that.
 
Old 10-11-2013, 03:21 AM   #3
bozic
LQ Newbie
 
Registered: Nov 2012
Location: Belgrade
Distribution: slackware
Posts: 11

Rep: Reputation: Disabled
Let try with ssh-keygen -R <ip_address host>.
 
  


Reply

Tags
scp, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scp file fail: Permission denied (publickey) esolve Linux - Networking 2 01-07-2013 09:56 AM
[SOLVED] scp error : permission denied :(( hiteurecomupf Linux - Newbie 8 12-16-2010 07:14 AM
hosts.allow - permission denied rainlinux Linux - Newbie 14 10-06-2010 01:57 AM
SCP: permission denied wackolacko Linux - General 3 01-30-2009 01:16 PM
scp permission denied but have write access linuxfia Linux - Software 5 08-14-2008 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration