LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 03:04 PM   #1
project.linux.proj
Member
 
Registered: Dec 2012
Posts: 75

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, 04:19 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,937

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
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, 01:35 PM   #3
project.linux.proj
Member
 
Registered: Dec 2012
Posts: 75

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, 01:55 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,937

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 04:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration