SSH FTP Issue


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting SSH FTP Issue
# 1  
Old 11-18-2008
SSH FTP Issue

Hi,

I have a ftp script which is supposed to ftp to different servers in the same environment and get request logs from a path. But when I run the script I get the following errors,
HTML Code:
[B]1142INPUT_WBS/1142INPUT_WBS
ftp: 1142INPUT_WBS.sbc.com: unknown host
Not.
Not connected.
local: /home/sn9460/logs: No such file or directory
Not connected.
Interactive mode on.
Not connected.
ftp: 1142INPUT_WBS.sbc.com: local: /home/sn9460/logs: No such file or directory
./ftp.sh: line 313: cd: /home/sn9460/logs: No such file or directory
gunzip: request.log*.gz: No such file or directory
./ftp.sh: line 315: syntax error near unexpected token `('
./ftp.sh: line 315: `bash ${LOCAL_DIR}/logextract.bash ( logextract script path )'[/B]
please tell me is this a issue with the script or should I enable SSH on all the servers.

Thanks for your time
# 2  
Old 01-30-2009
The problem was here:
Code:
 1142INPUT_WBS.sbc.com: unknown host

So perhaps you had a mistake in the hostname or your host resolution data is incorrect.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ssh issue

Hi All, I am trying to connect between two system , I am facing the issue with -SSH-t-l userid systemname exit ( this is the syntax) It suppose to ask for password , but it throws the error as mentioned below Error is received disconnect from system and remote login for the... (1 Reply)
Discussion started by: sudhainit
1 Replies

2. Fedora

ssh issue

Hello, I have two computers at my desk, let's call them A and B. I have some tasks that can only be performed on one of them and some on the other, so I need to be able to ssh from one to the other and vice versa to transfer files, etc. A can ssh to B without problem: I even copied the public key... (6 Replies)
Discussion started by: Leo_Boon
6 Replies

3. UNIX for Advanced & Expert Users

ssh issue

Hi I have a annoying situation here . Our non prod server connect to informatica to run the work flow. But since yest some jobs are getting failed due ssh to informatica server been unsuccessfull. please look into this. successful log for job fiusdcacct_ios_price_venld: SSH... (2 Replies)
Discussion started by: ptappeta
2 Replies

4. Solaris

SSH issue

Facing a SSH issue while creating passwordless login. unix> ./create_ssh In the program, you will be asked and providing 1. SSH private key filename (twice) 2. key passcode (twice) Enter private key filename: id_ss81dev ld.so.1: ssh-keygen: fatal: relocation... (5 Replies)
Discussion started by: flinders1323
5 Replies

5. Shell Programming and Scripting

SSH issue

I want to run a program on remote server by using unauthenticated ssh. It works when I ssh from command line however, it does not work when I try to invoke ssh script with other application. Any clue? (6 Replies)
Discussion started by: sam101
6 Replies

6. Solaris

ssh issue

I'm having a problem with an ssh server "SSH-2.0-Sun_SSH_1.1.2" on solaris 10. when i do try to connect from windows using puTTY the server refuse's the connection . when i try to connect using telnet from the same windows machine it accepts the connection and i got the following bannar... (32 Replies)
Discussion started by: h@foorsa.biz
32 Replies

7. UNIX for Advanced & Expert Users

FTP to another server using SSH

Hi, One of our server running on ssh.So when we are logging using putty,we used to select ssh option and provide the auth key.But if I am ftping some files to this ssh server from another linux server,how I can do that? (1 Reply)
Discussion started by: sureshbabuc
1 Replies

8. IP Networking

ftp and ssh weirdness

i've just setup my desktop (ubuntu 8.04) to run vsftpd and sshd. i have two laptops, both running linux. on one laptop i can connect to the desktop via ftp and ssh and everything works fine. so i don't think there's a problem with the server. on the other laptop i can't connect to the desktop... (3 Replies)
Discussion started by: darkmatter14B
3 Replies

9. UNIX for Advanced & Expert Users

An issue with SSH

Hey Guys! I got two PCs at my place. In the beginning, one of my PCs had RHEL3( say PC1 ) and one had RHEL4 ( say PC2 ). I was able to ssh from PC1 to PC2 and vice-versa. But recently I've upgraded PC1 from RHEL3 to RHEL4. Now when i am trying to ssh from PC2 to PC1, it is not allowing... (1 Reply)
Discussion started by: chakri.penguin
1 Replies

10. UNIX for Advanced & Expert Users

ssh issue

Im using the default ssh program on a solaris 9 system to connect to another server. When connecting to the other host it make me type my password in 3 to 4 times before letting me in. Is anyone familar with this? (4 Replies)
Discussion started by: meyersp
4 Replies
Login or Register to Ask a Question