Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

4 Answers

up vote 3 down vote accepted

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?

share|improve this answer
    
received an email just this morning of the server being down. :) –  codeLes Jul 30 '09 at 13:43
add comment

Protocol: scp

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

share|improve this answer
add comment

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/
share|improve this answer
add comment
scp -p 4033 file_to_copy user@secret_server.homeserver.org:/path_to_destination/
share|improve this answer
    
right... but what about connecting via SSH? –  codeLes Jul 29 '09 at 3:20
1  
Your original command looks correct. You many not have rights to a shell on the server. –  Richard Hoskins Jul 29 '09 at 3:27
    
if that's the case will I have to do an ssh-keygen? or something like that? –  codeLes Jul 29 '09 at 3:27
2  
If that's the case, you'll have to contact the server's administrators and have them give you access. –  Richard Hoskins Jul 29 '09 at 3:31
    
aye, thanks for that. –  codeLes Jul 29 '09 at 3:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.