System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP issue, unable to connect 2particular hosts

Vijaykumar_1
Valued Contributor

SFTP issue, unable to connect 2particular hosts

Hi ,

I have an issue and im not able to connect between two particular hosts, and am able to connect other hosts as well.

No issues with my sftp id ..its enabled.I have checked with the network team and they are file as well

Can someone suggest wat would be the issue.
8 REPLIES
Tingli
Esteemed Contributor

Re: SFTP issue, unable to connect 2particular hosts

Can you ssh between those particular hosts?
Vijaykumar_1
Valued Contributor

Re: SFTP issue, unable to connect 2particular hosts

No im not..
Patrick Wallek
Honored Contributor

Re: SFTP issue, unable to connect 2particular hosts

Are you sure ssh is running on the 2 hosts you can't connect to?

What happens if you use 'ssh -vvv ' (that is 3 of the letter 'v') to try to connect? What kind of debugging info do you get?
Steven Schweda
Honored Contributor

Re: SFTP issue, unable to connect 2particular hosts

> I have an issue

Is that anything like a _problem_?

> and im not able to connect [...]

"I can't do something" is not a useful
problem description. It doesn't say what you
did, and it doesn't say what happened when
you did it. Showing actual commands with
their actual results is often more helpful
than vague descriptions and interpretations.

You also didn't describe any of the computers
involved.

> [...] No issues with my sftp id ..its
> enabled [...]

I don't know what any of that means, either.
Steven E. Protter
Exalted Contributor

Re: SFTP issue, unable to connect 2particular hosts

Shalom,

both hosts:

netstat -an | grep ":22 "

Lets see if there is anything listening on port 22.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: SFTP issue, unable to connect 2particular hosts

@Steven Schweda -- Feeling unnecessarily pedantic today?

>> > I have an issue
>>Is that anything like a _problem_?

Actually, yes! "Issue" is a well known synonym for "problem."

http://thesaurus.reference.com/browse/problem
Vijaya Kumar_3
Respected Contributor

Re: SFTP issue, unable to connect 2particular hosts

These are my two cents.

a) Did you try pinging the remote machine, do you able to connect to the remote machine using telnet or ping or by using some other mechanism? There could be any firewalls in between that is trying to block the network traffic. To check this, read b)

b) To connect to a remote machine via sftp, SSH software should be installed and running on the remote machine that you are trying to connect to.

Please check on the remote machine if the port 22 is open (by using Steve's command above).

If you dont have access to the remote machine, please do a "telnet remotemachine 22" and see if you are able to connect to port 22.

c) "im not able to connect" is not a valid sentence from a sysadmin. like other partners point out, what/how/where did you do what should be given?

Regards
Vijay Chinnasamy
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Steven Schweda
Honored Contributor

Re: SFTP issue, unable to connect 2particular hosts

> Actually, yes! "Issue" is a well known
> synonym for "problem."

It's a recent corruption. Look up "issue" in
a good, 30-year-old (pre-InterWeb)
dictionary.

When you have a problem with your new car,
and you take it back to the dealer to get
some warranty service, the person who listens
to your complaint has been trained to call
your problem an "issue", because that
deceptive euphemism is believed to sound
better than "problem", so you'll feel better,
which is the whole reason it's used. I may
not be able to stop the guy at the car dealer
from trying to put one over on me, but I am
not required to cooperate in the attempt.
And the world will be a better place when
fewer people do.

But I'm well known to be eccentric, always
wishing to get actual information from
people who present problems here, calling a
complaint a "complaint", not believing that
"international" means the same thing as
"foreign", and so on. It's a long list.

Better a pedant than a manipulated dope, I
always say.