Can ssh into but not out of new serverSSH server installation on Windowsssh private key works for root, but...

What does the expression "A Mann!" means

How do I deal with an unproductive colleague in a small company?

A category-like structure without composition?

Are there any examples of a variable being normally distributed that is *not* due to the Central Limit Theorem?

Why are the 737's rear doors unusable in a water landing?

What killed these X2 caps?

How could indestructible materials be used in power generation?

How seriously should I take size and weight limits of hand luggage?

How did the Super Star Destroyer Executor get destroyed exactly?

Is it acceptable for a professor to tell male students to not think that they are smarter than female students?

Mathematica command that allows it to read my intentions

Dreadful Dastardly Diseases, or Always Atrocious Ailments

Should I tell management that I intend to leave due to bad software development practices?

How to show a landlord what we have in savings?

Why can't we play rap on piano?

Intersection Puzzle

Is "remove commented out code" correct English?

Why didn't Boeing produce its own regional jet?

What's the in-universe reasoning behind sorcerers needing material components?

Unlock My Phone! February 2018

Should I cover my bicycle overnight while bikepacking?

Can a virus destroy the BIOS of a modern computer?

Can we compute the area of a quadrilateral with one right angle when we only know the lengths of any three sides?

Alternative to sending password over mail?



Can ssh into but not out of new server


SSH server installation on Windowsssh private key works for root, but not for normal userSSH Server Not Responding To Connection RequestUnable to setup OpenSSH server on UbuntuChanged root password on Centos server. Afterwards I can't connect from SSH on my pcCant SSH into server, not respondingTermux: Connection to <ip> closed by remote host. Connection to <ip> closedNative SSH client can no longer connect, but scp and PyCharm SSH clients work ok?Spring Update Windows 10 ssh client reverse tunelling not workingMobaSSH Server for ssh connection to Windows PC













0















I just setup a new Ubuntu 16.04 remote server.



I can ssh into it fine. I can rsync and other things I have tried fine.



I cannot, however, seem to ssh out... Thats is, something like:



ssh user@otherhost 


Just hangs and eventually throws the error:



ssh: connect to host otherhost port 22: Connection timed out


What would cause this?



I have tried ssh'ing to and from my other servers; All of them are accepting and sending SSH from each other. The issue seems to only happen with this speciific server...



openssh-server and openssh-client are installed.









share























  • Maybe a firewall is blocking outbound packets to port 22.

    – David Schwartz
    1 min ago


















0















I just setup a new Ubuntu 16.04 remote server.



I can ssh into it fine. I can rsync and other things I have tried fine.



I cannot, however, seem to ssh out... Thats is, something like:



ssh user@otherhost 


Just hangs and eventually throws the error:



ssh: connect to host otherhost port 22: Connection timed out


What would cause this?



I have tried ssh'ing to and from my other servers; All of them are accepting and sending SSH from each other. The issue seems to only happen with this speciific server...



openssh-server and openssh-client are installed.









share























  • Maybe a firewall is blocking outbound packets to port 22.

    – David Schwartz
    1 min ago
















0












0








0








I just setup a new Ubuntu 16.04 remote server.



I can ssh into it fine. I can rsync and other things I have tried fine.



I cannot, however, seem to ssh out... Thats is, something like:



ssh user@otherhost 


Just hangs and eventually throws the error:



ssh: connect to host otherhost port 22: Connection timed out


What would cause this?



I have tried ssh'ing to and from my other servers; All of them are accepting and sending SSH from each other. The issue seems to only happen with this speciific server...



openssh-server and openssh-client are installed.









share














I just setup a new Ubuntu 16.04 remote server.



I can ssh into it fine. I can rsync and other things I have tried fine.



I cannot, however, seem to ssh out... Thats is, something like:



ssh user@otherhost 


Just hangs and eventually throws the error:



ssh: connect to host otherhost port 22: Connection timed out


What would cause this?



I have tried ssh'ing to and from my other servers; All of them are accepting and sending SSH from each other. The issue seems to only happen with this speciific server...



openssh-server and openssh-client are installed.







linux ubuntu openssh





share












share










share



share










asked 2 mins ago









tanbogtanbog

1033




1033













  • Maybe a firewall is blocking outbound packets to port 22.

    – David Schwartz
    1 min ago





















  • Maybe a firewall is blocking outbound packets to port 22.

    – David Schwartz
    1 min ago



















Maybe a firewall is blocking outbound packets to port 22.

– David Schwartz
1 min ago







Maybe a firewall is blocking outbound packets to port 22.

– David Schwartz
1 min ago












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421220%2fcan-ssh-into-but-not-out-of-new-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421220%2fcan-ssh-into-but-not-out-of-new-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...