OpenSSH: SFTP X SCP


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers OpenSSH: SFTP X SCP
# 1  
Old 03-03-2005
Power OpenSSH: SFTP X SCP

Hi all,

I'm implementing some updates to my scripts that are now using ftp command.
I was thinking about replace it by SFTP.
Now I see that SCP does basically the same that SFTP.
So... what are the differences between them?


Thanks in advance...
;O)
# 2  
Old 03-03-2005
Quote:
The main difference in practical operation between SCP and SFTP/FTP is that for SFTP or FTP you set up a connection and can then carry out a whole series of operations (including many which are not actually transfers, such as listing or even deleting files on the remote system). With many SCP clients, a single command normally transfers a single file or group of files, and to list files on the remote system, for instance, you have to login as a separate exercise (normally using ssh, the secure alternative to telnet). Note that WinSCP, although described as an SCP client, provides facilities more like those of FTP or SFTP, and offers an SFTP mode as an option.
by University of Cambridge (You can tell this is dated since they state that 'neither SFTP or SCP is universally available')
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Automatic SFTP transfers using OpenSSH on Windows and C#

I would like to create console application in c# to automate the process of downloading some files from a SFTP server to my local hard drive at a set time each week/day. SFTP Server installed OpenSSH for windows and client machine also. Any ideas how I could do such a task? or sample code. ... (0 Replies)
Discussion started by: sufiiyan
0 Replies

2. Shell Programming and Scripting

SFTP and SCP help

Hi All, I have to make an automated script that needs to do SFTP or SCP from my Unix server to another Unix server. I have gone through search of this website for sftp and scp. I really get confused when it talk about ssh key or rsh key and sftp -b thing I would really appreciate if... (4 Replies)
Discussion started by: pinnacle
4 Replies

3. UNIX for Advanced & Expert Users

SFTP Jail With Sun SSH Not OpenSSH

Hi all, I have a Solaris 10 server with SUN_SSH_1.1 installed. I want to restrict a user via SFTP to only be able to access one directory. I've written a little script in .profile which works perfectly for an ssh login but it appears sftp doesn't read the .profile file so it doesn't work. ... (2 Replies)
Discussion started by: Donkey25
2 Replies

4. UNIX for Dummies Questions & Answers

SFTP with OpenSSH

Hi All, I am using SFTP command to download some files from a remote server. My both the servers are SFTP enabled. I am sending SFTP request to a Windows server from my Linux server via openSSH. and i have already exchanged publickey between both the servers. But still remote server is asking... (1 Reply)
Discussion started by: vipparlas
1 Replies

5. UNIX for Advanced & Expert Users

Password Aging with Openssh 5.2 SFTP Subsystem Jail

All, I enabled PAM and aged a password, but when I login it asks me for the current password then says password unchanged after entering the current password. Is this a bug? My security dept is going to want me to enable password aging and I'm stuck! Any help on what the issu is? ... (6 Replies)
Discussion started by: markdjones82
6 Replies

6. AIX

what to use sftp or scp

hi, i have a weird problem i have to copy the file with caret(^) in it. but when i tries to copy with scp. It(scp) says that it cant use ^file_name scp mohit^narang user@machine/mohit^narang the error comes in the second parameter.if i used user@machine/mohit_narang(under score) instead... (2 Replies)
Discussion started by: narang.mohit
2 Replies

7. UNIX for Dummies Questions & Answers

Question about Openssh and sftp

I have to create an automated sftp job on an AIX box. The sftp command doesnt work. Do I need to install the openssh package in order to be able to invoke the sftp command? (2 Replies)
Discussion started by: NycUnxer
2 Replies

8. UNIX for Advanced & Expert Users

sftp vs scp

My transmit rates are waaay faster using scp over sftp....anyone know why scp is faster than sftp? I am using solaris 8 for my unix systems. -S (2 Replies)
Discussion started by: Sowser
2 Replies

9. UNIX for Advanced & Expert Users

Show OpenSSH SCP Connections

Hello friends! :) I'm very interested in how if one is able to list active and or previous scp connections via OpenSSH to *BSD, GNU machines. Kinda like "last" does, without being forced to look in logfiles or netstat. Anyone aware of any such functionallity? Cheers! /Donnie B (1 Reply)
Discussion started by: Esaia
1 Replies

10. AIX

OpenSSH scp Command

I am hoping that someone out there has had the same problem as me and can provide a fix to this problem. I am running AIX 5.1.0.3 and have installed OpenSSH 3.6.1.1. Everytime I execute the scp command... for example: scp -p /etc/hosts uscaucw9:/tmp/hosts.bak I get the following message: ... (2 Replies)
Discussion started by: mcateriny
2 Replies
Login or Register to Ask a Question