LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2013, 02:04 PM   #1
project.linux.proj
Member
 
Registered: Dec 2012
Posts: 80

Rep: Reputation: Disabled
ppk file with sftp server


Hello,

Can I use .ppk (private key file) with sftp in Centos6? I tried but didn't successful. if it is not possible with sftp how can i connect server ?

Thanks,
 
Old 05-28-2013, 03:19 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by project.linux.proj View Post
Hello,
Can I use .ppk (private key file) with sftp in Centos6? I tried but didn't successful. if it is not possible with sftp how can i connect server ?
Yes, it's possible, but you have to provide details. Just saying "didn't successful", tells us nothing. There are several how-to guides that detail how to use SSH/SFTP with private keys.
http://www.unix.com/shell-programmin...h_keygen.shtml
 
Old 05-29-2013, 12:35 PM   #3
project.linux.proj
Member
 
Registered: Dec 2012
Posts: 80

Original Poster
Rep: Reputation: Disabled
I have .ppk that i can use from WINScp to login into the machine using sftp protocol. but when i try from sftp command i didn't get the right option to use it.
My question is why winscp can login into the machine using sftp protocol & .ppk file but my command sftp doesn't work from Centos. Can you please give me the syntax how to get into the machine using .ppk? The URL you provided didn't work.


Thanks,
 
Old 05-29-2013, 12:55 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by project.linux.proj View Post
I have .ppk that i can use from WINScp to login into the machine using sftp protocol. but when i try from sftp command i didn't get the right option to use it. My question is why winscp can login into the machine using sftp protocol & .ppk file but my command sftp doesn't work from Centos. Can you please give me the syntax how to get into the machine using .ppk?
AGAIN, have you tried to look it up? And you've still not provided useful details:
http://geek.jasonhancock.com/2010/12...e-private-key/
http://www.linuxquestions.org/questi...ved%5D-798066/

Again, you can just read the man page on ssh/sftp, and pay particular attention to the "private key" option.
Quote:
The URL you provided didn't work.
Comes right up for me, as do many others I can find with a Google search.
 
  


Reply



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
script to sftp file to remote server OzTEXS Linux - Newbie 6 06-23-2013 05:33 PM
Script that alerts the server that a file is received via sftp poojat Linux - Server 1 06-19-2012 02:28 AM
SFTP using PPK key file [SOLVED] exactiv Linux - Networking 1 03-26-2010 11:09 AM
Script to find date of file on SFTP server bentman78 Programming 3 05-14-2009 04:17 PM
What is the config file for sftp-server? cthulueldergod Linux - Networking 1 08-30-2004 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:03 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