Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Scp hostname resolution problem

Hello,

from my console when i do a:
scp -v -v -v -Bcq -P 222 file root@hostname.domain:file
I've got this:
Executing: program /usr/local/bin/ssh host hostname.domain, user root, command scp -v -t file
OpenSSH_ASL_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 0 geteuid 0 anon 1

...Blocking here
Still waiting for hostname.domain resolution.
While with the direct IP address (instead of hostname.domain), all is ok ...

This since i've upgraded to 2.022.

Other applications like ping, netcat, are still able to resolve hostname.

So why not my scp. since i would like to get back my logs, it's an anoying situation.

Thanks for Helps.


This thread was automatically locked due to age.
Parents
  • Frediz,

     
    quote:
    scp -v -v -v -Bcq -P 222 file root@hostname.domain:file
      


    Are you talking about copying files to the firewall?

    If yes I would use

    scp file loginuser@ip-of-firewall:/tmp

    if ip-of-firewall is resolvable you can use
    hostname instead.

    Regards
    ollion
Reply
  • Frediz,

     
    quote:
    scp -v -v -v -Bcq -P 222 file root@hostname.domain:file
      


    Are you talking about copying files to the firewall?

    If yes I would use

    scp file loginuser@ip-of-firewall:/tmp

    if ip-of-firewall is resolvable you can use
    hostname instead.

    Regards
    ollion
Children
  • Hello,

    No, in fact it was from Firewall to External Log Server.

    But, you can forget this question, i found where was my problem (ssh-keygen problem).

    NevertheLess Thank you Ollion for your suggestion.

    Regards.
    Bye.