Networking :: SFTP Using PPK Key File?

Mar 26, 2010

I have been provided with a PPK file to connect to a remote server using SFTP. I've also been given a username and password. I created a user test and created a .ssh directory in their home directory. I've put the ppk file in here and renamed it id_rsa (though I'm pretty sure I'm not correct in doing so)
When I SFTP using sftp test@remoteserver.com I get prompted for the key password - which I don't know and am presuming is blank, so I just hit enter Then is prompts me for the user password which I give it. it falls down here. I used the -v option to see where it stops - which tells me: debug1: Trying private key: /home/test/id_rsa debug1: PEM_read_PrivateKey failed I presume this is because SFTP is expecting a .PEM key instead of a PPK?

View 1 Replies


ADVERTISEMENT

Ubuntu Networking :: File Uploading Using SFTP In Filezilla?

Apr 27, 2010

I have set up a local server for testing on my home network and installed openSSH. I can login using filezilla and SFTP and can even download files. Error messages saying cannot find directory (the directory I am trying to upload)?

Do I need to configure openSSH to allow this. I am using my usual ubuntu login. Maybe I need to set up another user for SFTP.

View 4 Replies View Related

Fedora :: Files Corrupts - Upload A File (using Ftp Or Sftp) Some Weir Characters Are Included Inside The File

Mar 23, 2010

I just installed Fedora12 in a Core i3 machine... everything looks fine, but I have a huge problem... every time I upload a file (using ftp or sftp) some wier characters are included inside the file... for example.

[Code]......

View 6 Replies View Related

Ubuntu Servers :: Sftp On Vsftpd - Make / Force All Users To Use Sftp And Not Just Ftp

Apr 13, 2011

i have a vsftpd server running well but i want to make/force all users to use sftp and not just ftp is this possible?

View 1 Replies View Related

General :: Trying To Sftp (get) A File

Nov 24, 2010

Trying to sftp (get) a file, and am getting the following message:

spawn sftp -oPort=10022 jn000JN@sftp.section111.cms.hhs.gov Connecting to sftp.section111.cms.hhs.gov... The authenticity of host 'sftp.section111.cms.hhs.gov (204.76.173.42)' can't be established. DSA key fingerprint is 66:64:07:cc:39:89:56:2b:3b:4c:fd:cc:3d:2a:7a:9c. Are you sure you want to continue connecting (yes/no)?

Is this an issue with keys? Where are the keys on a sftp client stored? I am running this sftp script from a different directoy than normal if that matters.

View 3 Replies View Related

Software :: Sftp Output To File ?

Nov 26, 2010

I want to log sftp get command output:

Code:

If I do it with redirect operator I get:

Code:

As you can see that second get command output line(which includes some statistics) is gone.

Any way to include that statistics line into my log ?

View 5 Replies View Related

General :: Send A File Using The Sftp Syntax

Mar 24, 2011

I understand how to get a file from an another computer using the sftp syntax

So i can get the file abc from comp2 to comp1

But how can I send a file cba from comp1 to comp2 using the sftp(I am still using comp1)

View 2 Replies View Related

Server :: Use Scp Or Sftp Command Line With A Key File?

Oct 6, 2010

Running: Red Hat Enterprise Linux Server 5.2 (Tikanga) I need to be able to automate transferring a few files over from one server to another using scp or the sftp protocol. I have received a text file which looks like a key file along with username and passphrase information for the target server in question.

Instructions were given to me to import the provided text file in puttyGen then save the imported key as a private key to be used by scp or sftp. My assumption is this is for windows utilities, which I am not using. My frustration comes in trying to automate logging into this server via sftp or scp to automate some file transfers. I am asked for a password every time because the public and private key methods failed to find my keys. How can I call scp or the sftp utilities and use the provided key file (the one I generated using puttyGen or the original one provided to me) to login to this server? I've tried taking the generated ppk file from puttygen and adding it with the ssh-add command but that still did not work.

View 4 Replies View Related

Software :: Sftp Crontab - Send Make-up File Daily

Oct 25, 2010

I use the following code to send make-up file dialy via sftp with expect. When I run it from command line, it has no problem sending to the remoteSERVER side, but when it is running via crontab task, it did not do the put, so did not execute the batch file defined in -b option.

#!/bin/bash
#!/usr/bin/expect
curDate=`date +%Y%m%d`
filename="$RESULTS/make-up.${curDate}.001"
newname="make-up.${curDate}.001"
remoteDirName="/Inbound/PPP"
tempcmd="$RESULTS/tempcmdFiles"
[Code]...

View 1 Replies View Related

Programming :: Unable To Use SFTP File Upload Bash Script

Oct 7, 2010

upload a file to a business partner of ours in another country. Currently they have an SFTP server set up for us that I am using to download a daily generated file from a previous requirement. I use a bash script to download it since its fairly simple.

Quote:

sftp username@address/filename_filedate.zip /home/user/filedirectory > /var/log/joblog

(removed private info) To satisfy the new requirement I have been trying to write something similar to this;

Quote:

sftp /home/user/filedirectory/filename_filedate.zip username@address:/remotedirectory/

sftps manual page only gives a hint about using a batchfile, however i still cannot get it to work. Does anyone know another way? Or if you can even suggest another method or application? It seems like a bit of a cop out you can EASILY download using the sftp command but can't upload.

EDIT - forgot to mention I have already got keyless entry set up using ssh keys.

View 1 Replies View Related

Software :: Openssh Sftp - Config File - Shows All The Hidden Files (dot)?

May 27, 2010

Where is the config file for the sftp bit? At the mo it shows all the hiddenfiles (dot) and I don't want it too. Don't laugh, I have just configured my proftp for this, and realised, hang on this isn't the program that dishs out sftp!

View 1 Replies View Related

Ubuntu Networking :: Can SSH But Can't SFTP

May 31, 2010

Weird problem; I have set up SSH on my 10.04 server. I can putty to it over my LAN from my Win 7 box but when I try to SFTP I get "connection timed out".

View 2 Replies View Related

Ubuntu :: PuTTY SFTP Syntax Required To Copy A File From Computer 10.0.2.2, On User T0p's Desktop?

Aug 27, 2010

PuTTY SFTP syntax required to copy a file from computer 10.0.2.2, on user t0p's Desktop (eg /t0p/Desktop/file.txt , to the XP computer? The PuTTY instructions seem to make no sense to me.

View 1 Replies View Related

Networking :: What Are SFTP'd User Permissions?

Apr 6, 2010

if lets say 'someuser' sftp's into the box what is he actually able to do?Looking at my tests he can browse any directory to which he has read permissions but is only able to delete files in /home/someuser, even if they are owned by root. On the other hand in any folder above /home/someuser he would NOT be unable to delete a file even if its chmoded 777. Can anyone please confirm these findings.

View 4 Replies View Related

General :: Connect To An SFTP Server From A Windows Machine To A SFTP Server Using A DSA Key?

Jul 24, 2011

As a Windows user, I generated a pair of DSA keys from CoreFTP Lite and sent it to a third party that runs an SFTP server. They told me that a valid DSA key needs to have ssh-dsa at the start and the username@systemname at the end. CoreFTP generated neither the ssh-dsa header nor the username@systemname footer. I tried with WinSCP and it didn't generate them either. Is there a difference between how SFTP works between Windows and Linux? If I put a useraccount@systemname at the end of the text will it work? How would the Linux system validate that my system is called "systemname"? If it can't validate, what is the purpose of adding it?

View 2 Replies View Related

Ubuntu Networking :: Ssh/sftp Connection Refused?

Jun 13, 2010

I'm trying to establish a connection between two laptops using sftp but am getting the following error message:

Connecting to <IP>...
ssh: connect to host <IP> port 22: Connection refused
Couldn't read packet: Connection reset by peer

ftp isn't working either. Both machines are running Ubuntu and connect to the internet through the same wifi router in case that's relevant. What could be the problem?

View 4 Replies View Related

Ubuntu Networking :: SFTP Connection Time Out?

Jul 7, 2010

I'm using Filezilla to connect to a remote server with site 2 site VPN. Even when i'm sending a small file with SFTP, the connection time outs and reconnects. Its happening again and again. Even SCP connection is also the same. BUT SSH CONNECTION IS WORKING FINE.

Filezilla log

ravindika@ravindika:~$ tail -f filezilla.log
2010-07-07 10:35:12 2690 2 Response: fzSftp started
2010-07-07 10:35:12 2690 2 Command: open "root@XXX.XXX.XXX.XXX" 22
2010-07-07 10:35:19 2690 2 Command: Trust new Hostkey: Once
2010-07-07 10:35:21 2690 2 Command: Pass: *******
2010-07-07 10:35:25 2690 2 Status: Connected to XXX.XXX.XXX.XXX

[Code]...

View 1 Replies View Related

Networking :: Passwordless SFTP Between Unix Box And Windows?

Mar 29, 2010

I have to establish password SFTP between one Unix box and Windows in which certain files will be pushed from unix to windows server. Our client is insisting on using TurboFTP on Windows for ssh daemon to run. There are two components in TurboFTO- client and server.

1. I need help if I need to install both. As far as my knowledge with this software is considered, I dont think TurboFTP client to be running as the server componoent will itself run sshd.

2. Also, when I try to add server in TurboFTP server console, it provides me two options - local and remote server types. Local uses 3830 port by default and uses ip 127.0.0.1. If I use Remote server type which uses 3839 and I dont know what ip address to provide. I need help whether I shud go ahead with local server or remote server.

My doubt is if I consider local server type then whether my Unix box will be able to recognize if thie windows machine (which is also naving network specific ip address) has sshd running because windows has local server type enabled which uses 127.0.0.1.

View 3 Replies View Related

Networking :: Accessing A Remote Server Using Ssh Or Sftp

Apr 30, 2010

I cannot access a remote server(Ubuntu) using ssh or even using sftp from my ftp client. I've been accessing this server regularly for many months with no problem until now. There is a web server running and that's OK, so no problems there. I asked the owner of the server if he could access using ssh from within his LAN, which he could! So openssl is working from within the LAN, but not ouside of the LAN. I access the remote server by using one of [URL] free domain names. I'm aware that this service requires renewal or activity at least once a month and as far as I know this is up to date and working OK.

Is this a router gateway problem? I suspect that port 22 has been blocked, but what could block this port? It's been working well for so many months. As far as I can tell the owner of the server/LAN has not been tampering with the router, so what could be blocking port22? I'm currently accessing the server using vnc4server.

Another really weird thing is that when I access the terminal on the remote server via vnc4server and I ssh back to the server using one of [URL] free domain names, it works! So as I understand ssh is accessing itself by going out of the LAN and back to itself. This would suggest that port22 on the gateway router is working. But when I try to ssh from a pc outside of the LAN, I just get timed out!

* openssl working from within the LAN but not outside of the LAN.
* sftp not working.
* domain name from dyndns.com working and up to date.
* Web server is working OK.

View 14 Replies View Related

Networking :: Transfer Files From PC To A Sftp Server?

Dec 17, 2010

I would like to transfer files from my PC to my account at a sftp server, and I don't know how to do it.

My PC is running with:
User: User1
Address: 10.0.2.3

My sftp account is:
User: SFTPUser1
Address: sftp-server

I can access the sftp server with the command:

Code:
sftp SFTPUser1@sftp-server
The sftp server doesn't answer to ssh requests.

How can I transfer files to the sftp server?

View 7 Replies View Related

Ubuntu Networking :: SFTP Multiple Simultaneous Connections

Feb 7, 2010

I really hope someone could help me with this problem. I've been stuck on this for a month.I am using the sftp command to upload files using a bash script.The problem is that it is extremely slow to do it this way. as many of you would know if you have shared server somewhere. I would use scp if remote server supported it, but it doesn't.

Anyway, If any of you have ever used FileZilla, in the Settings, if you go to "Transfers" there is a place where you can set the number of "maximum simultaneous transfers". This feature works wonders with SFTP (and FTP too). It really speeds things up. How do I accomplish this same thing with the sftp command... because I don't want to use a GUI. I don't even mind using FileZilla through the command line if possible... but it does not seem to be possible. I've been stuck on this for a month!!! I've searched everywhere and tried a lot of things with no avail...

View 6 Replies View Related

Ubuntu Networking :: Command To Kill All Sftp Connections

Feb 20, 2010

I want to use a cron job to backup my files to my server. Now when I run the script manually, I get an error when backing up (something and sftp file being used or so). I only get this when I'm simultaneously connected to my server with sftp. So to be sure that this doesnt happen when I wont be there anymore to look at the log, I would like to know if there is a command to kill all sftp connections. I would put this command in the backup scrip cron uses.

View 4 Replies View Related

Ubuntu Networking :: Disable The Default SFTP Server In OpenSSH?

Apr 27, 2010

I have FTPS setup on my ubuntu server 9.10 machine using vsftpd, and I want to disable the default SFTP server in openSSH. I didn't even know it was on until I accidentally connected to it. I tried searching the internet, and it seems that all I should have to do is comment out the line:

Code: Subsystem sftp /usr/lib/openssh/sftp-server restart sshd and it shouldn't work anymore.....except it does. Thinking that /etc/init.d/ssh restart may not have worked, I restarted the machine, but I can still connect over sFTP.

View 5 Replies View Related

Ubuntu Networking :: Sftp Client For Redirected Ssh To Port 2222?

Apr 7, 2011

I have remote server and when I want to connect to it from internet I need to choose port 2222. I tryed to do it using filezilla, gftp, it can be done. Because they want from me to use default ssh port 22

View 1 Replies View Related

Fedora Security :: Chrooted SFTP - Couldn't Get Handle: Permission Denied When I Try To Get The File "junk"

Sep 3, 2009

I'm trying to set up a Fedora 11 server so that users have only SFTP access. The relevant lines from my "/etc/ssh/sshd_config" are:

[Code]....

I can log in okay, I can type "cd /" and "cd upload", but when I try an "ls" command, I get: Couldn't get handle: Permission deniedand when I try to get the file "junk" (listed above), I get: Couldn't stat remote file: Permission deniedAnyone know what I'm doing wrong?

View 2 Replies View Related

General :: Possible To Use SFTP In Yum

Nov 15, 2010

Is it possible to use SFTP in yum. As per my company policies ftp,vsftp are disabled in my server.Googled the same but didnt get any valid points

View 4 Replies View Related

OpenSUSE :: SFTP Into Machine?

Apr 28, 2010

I forwarded my port 22 so i can access my ssh console on my mac or Windows (using ssh secure shell client for Windows by the company SSH). On Windows i can transfer the files no problem. Now on my mac's Finder ( that supports sftp natively ) i can't access the sftp is any configuration i need to make?

View 4 Replies View Related

Ubuntu :: SSH Is Working, But SFTP Is Not?

Apr 24, 2010

I have ubuntu server 9.10 running in which I selected the option to automatically installed security updates. It's been running file for 4 months with both ssh and SFTP, which I installed the openssh-server.Today I really need to upload something to the server, which is in another city and SFTP isn't working. It's not allowing me to connected, I tried connecting with multiple FTP clients, command line...etc and on both windows and linux and SFTP just isn't working.The only changed I've done to the configuration file was changing the port from 22 to another port and did this 4 months ago. Been using it every few weeks since then.

View 1 Replies View Related

Ubuntu :: When FTP Better Choice Over SFTP?

Aug 6, 2010

When would ftp be a better choice than sftp?

View 1 Replies View Related

General :: What Are The Advantages Of Sftp Over Ftp?

Feb 7, 2011

What are the advantages of sftp over ftp?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved