Why is sftp working but ftp not


 
Thread Tools Search this Thread
Operating Systems Solaris Why is sftp working but ftp not
# 8  
Old 07-04-2012
Quote:
Originally Posted by methyl
@jlliagre
Hmm. There was a recent post from someone who had a dollar sign in their password.
Can you post a link to this posting ?
Quote:
Try it on your version of Solaris, it might work or it might not. Depends on the version of Solaris and the context.
I never heard of problems with '$' in passwords unless when poorly written shell scripts were involved in the process. This should not be the case with the OP question.
Quote:
A hash sign in a password is fun. Try it.
'#' used to be interpreted as the erase character by archaic Unix implementations (eg: Unix version 7) but this should be irrelevant with Solaris.
Quote:
The password-length issue is nothing new.
The password length issue you are referring to doesn't prevent users to authenticate when they enter the password they think is correct.
# 9  
Old 07-05-2012
@jlliagre
I didn't say that his ftp was not running only that he needed to configure the ftp setup. I was in a class where the instructor had instructions for Solaris 9 & below. So it didn't quite work on Solaris 10 that was in class. I don't remember how I fixed the lab, but there was a little more to it, then just starting one service.
# 10  
Old 07-05-2012
@jlliagre
The hash character issue (and some other characters) is a function of the tty driver. If you are not using the tty driver (e.g. for telnet), you won't have seen the problem.

It is quite possible to have an account password which will work at the login prompt but which can't be typed as an ftp password after logging in. e.g a character which appears in stty -a .

I can't find that post about a dollar sign, but the O/P fixed it by changing the password.
# 11  
Old 07-05-2012
Quote:
Originally Posted by methyl
It is quite possible to have an account password which will work at the login prompt but which can't be typed as an ftp password after logging in. e.g a character which appears in stty -a.
Indeed, but that seems quite far-fetched.
# 12  
Old 07-09-2012
@All,
thanks for responding and all the good information or possibliy errors you all mentioned.
In the meantime I found out that the security software (CA's etrust), which is installed there, did block the ftp account so I had to allow "ftp user " there and then I did work.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mget with SFTP is not working

hi Team, I am connecting from one (A) linux server to another(C)/any linux server by sftp on A linux server: sftp userid@C password: mget is Not working fine I am using mget to pull the files. it shows mget as invalid command. But from (B) Linux server to (C) /to Any server Linux... (15 Replies)
Discussion started by: johnsnow
15 Replies

2. Linux

Put -r is not working in SFTP

Hi Folks, I am trying to copy a directory along with sub-directories to SFTP server. I have connected to SFTP and tried to run the below command: sftp> get -r abc/* It is throwing the error Invalid flag -r Can you please let me know the ways to copy a directory from Local to SFTP ... (1 Reply)
Discussion started by: kirans.229
1 Replies

3. Red Hat

Sftp command not working

What is wrong with this sftp command being used in one line: sftp /Data/SEmisstn.gz lsmsadit@144.226.213.23:/test/lsms.SEmisstn.gz The ssh key is already setup. The node is valid and i can ssh to it as well as do a manual step by step sftp to the server. However, for some odd reason, i... (10 Replies)
Discussion started by: mrn6430
10 Replies

4. Shell Programming and Scripting

sftp autologin is working but ...

Dears, I am new to linux scripting and I was look for a way to auto login to a server using sftp to download a file. I found one and it is working fine. But i don't know the meaning of <<EOF in the code. Any one explain it to me: #!/bin/sh HOST=yourservername USER=yourusername ... (1 Reply)
Discussion started by: torabi
1 Replies

5. UNIX for Advanced & Expert Users

SFTP Not Working With CRON

Hello - I have a production stream that is scheduled with cron to run each Monday morning. The jobs in the stream perform tasks including FTP get, load to a DB table, and report processing. About a month ago I was directed to begin using sftp in these jobs and since then the jobs... (12 Replies)
Discussion started by: PatrickPurfield
12 Replies

6. UNIX for Advanced & Expert Users

SFTP not working in the background

I'm modifying some code to SFTP files because the remote servername and user are changing. The keys have been correctly installed and I'm using the -B option to automate the actions following connection e.g. cd, put etc. This is all working nicely. However, when I wrap this up to call it from a... (0 Replies)
Discussion started by: JerryHone
0 Replies

7. Linux

FTP not working under Linux but working under any other OS ??? Very strange

Dear all, I am totally despaired and puzzled. Using Filezilla under Windows under the same network as our Linux servers is working. Using FTP command-line client under any of our Linux debian servers is not working ! I tried with different FTP servers -> same problem ! All commands are... (12 Replies)
Discussion started by: magix_ch
12 Replies

8. Shell Programming and Scripting

Automate SFTP is not working

Hi All:cool:, i tried to automate SFTP process after passwordless authendication. Stil i am getting error... Can anyone help.... ------------------- sample code below ------------------- sftp -v $mdskk@100.4.4.75 << EOF cd /data mget *.tar.gz bye EOF... (2 Replies)
Discussion started by: senthil_seera
2 Replies

9. UNIX for Dummies Questions & Answers

sftp not working as cronjob

hi, I have a script that will automatically login into a server and get a file. it is working fine if i run it on a command line. however, when i tried to run it as a cron job, it is not working. what should i do? set timeout -1 spawn /usr/bin/sftp user1@server1 match_max 100000 expect... (3 Replies)
Discussion started by: tungaw2004
3 Replies

10. Shell Programming and Scripting

SFTP not working in cron

Hi, I have a simple script that is trying to put a file that resides on a local machine to a remote machine. It runs fine manually but does not complete when scheduling to run in cron. Here is what the script looks like. Any idea what I am doing wrong here? #!/bin/ksh cd /path sftp... (4 Replies)
Discussion started by: ewilson0265
4 Replies
Login or Register to Ask a Question