2

I've been given this information (changed to protect the innocent):

Hostname: secret_server.homeserver.org
Port: 4033
Username: user
Password: $ecrectP#ras3
Protocol: scp

I don't have to have a nice GUI. What's the key to connecting to this server? I understand that SCP will copy files from a source directory to my target directory (both ways). How can I connect via SSH to this server so I can traverse the directories and find the files I need?

the following terminal command just times out:

ssh -p 4033 user@secret_server.homeserver.org

is it me or the server?

4 Answers 4

3

If the connection just times out, there may be some network problem. For example, some firewall blocks the connection.

Can you ping the server?

ping secret_server.homeserver.org

In addition, ssh connection may be blocked, and only file copying with scp is allowed.

Does it work if you use scp to copy files?

1
  • received an email just this morning of the server being down. :)
    – codeLes
    Jul 30, 2009 at 13:43
5

Protocol: scp

It's possible that they've enabled only scp, and that ssh remains disabled.

5

If you can't get in using ssh, sftp still might be an option. It's not a full shell but at least you can traverse directories, list files and transfer them.

sftp -oPort=4033 user@secret_server.homeserver.org:/path_to_destination/
2
scp -p 4033 file_to_copy user@secret_server.homeserver.org:/path_to_destination/
4
  • right... but what about connecting via SSH?
    – codeLes
    Jul 29, 2009 at 3:20
  • 1
    Your original command looks correct. You many not have rights to a shell on the server. Jul 29, 2009 at 3:27
  • if that's the case will I have to do an ssh-keygen? or something like that?
    – codeLes
    Jul 29, 2009 at 3:27
  • 2
    If that's the case, you'll have to contact the server's administrators and have them give you access. Jul 29, 2009 at 3:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .