Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
General Security
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Security & Malware Removal > General Security >
Solved: sftp

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
ghinwa's Avatar
Junior Member with 6 posts.
 
Join Date: Apr 2009
29-Apr-2009, 05:57 AM #1
Solved: sftp
Hi,
I dowloaded freeFTPd to configure my laptop as SFTP server.
using this tool, I generated keypair and completed the SFTP configuration.

then i tried to connect to this sftp server from another desktop using:
PSFTP.exe, i opened it and typed in the following command:

open ip.address.goes.here

it didnt work,

then i tried a different command:

open user@ip.address.goes.here


also it didnt work.

I doubt one thing which is the key authentication.
when im using PSFTP.exe i am not sending the private key in order to authenticate.

what would be the commands i can use in CMD or in PSFTP.exe to authenticate myself for this SFTP server?

Thanks,
Ghinwa
Elvandil's Avatar
Computer Specs
Moderator with 36,830 posts.
 
Join Date: Aug 2003
Location: Vermont
29-Apr-2009, 08:02 AM #2
You'll need to use a client that supports the keys. I don't knoiw how you would do that with PSFTP since logon is usually:

psftp user@ip.address.goes.here

but there is a "Save Private Key" button in Putty so that it will be sent on logon.

Try Filezilla if you don't absolutely need a command-line. You can put the key right into the SFTP settings.
__________________
Microsoft MVP
Windows Shell/User
ghinwa's Avatar
Junior Member with 6 posts.
 
Join Date: Apr 2009
29-Apr-2009, 08:07 AM #3
Can you please tell me where can i find the SFTP settings in FileZilla?
ghinwa's Avatar
Junior Member with 6 posts.
 
Join Date: Apr 2009
29-Apr-2009, 08:14 AM #4
ok i found it, it's under Edit/Settings/SFTP
im working on it right now...
Elvandil's Avatar
Computer Specs
Moderator with 36,830 posts.
 
Join Date: Aug 2003
Location: Vermont
29-Apr-2009, 08:18 AM #5
There you go. I'm running the Filezilla server right now and they really make a good pair, though I use BlazeFTP for normal FTP. It's old, simple, and works fine.

You might want to just forget about the password if you use the key.
ghinwa's Avatar
Junior Member with 6 posts.
 
Join Date: Apr 2009
29-Apr-2009, 08:34 AM #6
another problem came up!
i went to sftp settings and added a key ( i took the private key generated from freeFTPd and pasted it in a folder on my desktop which i am using here as the client)
the file is .rsa
so when i selected add, FileZilla issued an error that FileZilla does not support this type of files, would you like to convert it into a supported format?
i selected yes, and it changed to .rsa.ppk
and i tried to connect and the following resulted from FileZilla:

Status: Connecting to ip.address.goes.here...
Response: fzSftp started
Command: keyfile "C:\keys\privatekey.rsa.ppk"
Command: open "ghinwa@ip.address.goes.here" 22
Error: Connection timed out
Error: Could not connect to server

note that im still using the password i have set in the sftp server.

i doubt that the reason is the conversion of private key file to .ppk
what do u think?

Thanks again
ghinwa's Avatar
Junior Member with 6 posts.
 
Join Date: Apr 2009
29-Apr-2009, 10:40 AM #7
Thanks for your help! it's working now!
Elvandil's Avatar
Computer Specs
Moderator with 36,830 posts.
 
Join Date: Aug 2003
Location: Vermont
29-Apr-2009, 01:31 PM #8
OK. I don't know what happened in between, but glad you got it going.

You can mark your own threads "solved" using the button above.
ghinwa's Avatar
Junior Member with 6 posts.
 
Join Date: Apr 2009
30-Apr-2009, 02:33 AM #9
I guess i was pointing to the wrong private key file ! there's no other reason..

Thanks for your help again
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 10:52 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.