SSH connection times out when trying to remotely connect to my personal computer from laptop on another network

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a desktop computer and a laptop. Both run Debian 9.5. Both have openssh installed.



On my desktop, when I run ip a, I see this as part of the output:



enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
# Some other stuff
inet 192.168.0.11


On my laptop, when I run ssh myDesktopUsername@192.168.0.11, I get this error after a while: ssh: connect to host 192.168.0.11 port 22: Connection timed out.



My desktop computer is connected to my Motorola router/modem by Ethernet cable. On the port forwarding section of my router/modem page, I have this rule.



enter image description here



My laptop is not on the same network as my desktop machine. Using my laptop, how do I remotely connect to my desktop via SSH?









share





















  • Is the ssh server on 192.168.0.11 running? systemctl status sshd.service...
    – jasonwryan
    4 mins ago














up vote
0
down vote

favorite












I have a desktop computer and a laptop. Both run Debian 9.5. Both have openssh installed.



On my desktop, when I run ip a, I see this as part of the output:



enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
# Some other stuff
inet 192.168.0.11


On my laptop, when I run ssh myDesktopUsername@192.168.0.11, I get this error after a while: ssh: connect to host 192.168.0.11 port 22: Connection timed out.



My desktop computer is connected to my Motorola router/modem by Ethernet cable. On the port forwarding section of my router/modem page, I have this rule.



enter image description here



My laptop is not on the same network as my desktop machine. Using my laptop, how do I remotely connect to my desktop via SSH?









share





















  • Is the ssh server on 192.168.0.11 running? systemctl status sshd.service...
    – jasonwryan
    4 mins ago












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a desktop computer and a laptop. Both run Debian 9.5. Both have openssh installed.



On my desktop, when I run ip a, I see this as part of the output:



enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
# Some other stuff
inet 192.168.0.11


On my laptop, when I run ssh myDesktopUsername@192.168.0.11, I get this error after a while: ssh: connect to host 192.168.0.11 port 22: Connection timed out.



My desktop computer is connected to my Motorola router/modem by Ethernet cable. On the port forwarding section of my router/modem page, I have this rule.



enter image description here



My laptop is not on the same network as my desktop machine. Using my laptop, how do I remotely connect to my desktop via SSH?









share













I have a desktop computer and a laptop. Both run Debian 9.5. Both have openssh installed.



On my desktop, when I run ip a, I see this as part of the output:



enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
# Some other stuff
inet 192.168.0.11


On my laptop, when I run ssh myDesktopUsername@192.168.0.11, I get this error after a while: ssh: connect to host 192.168.0.11 port 22: Connection timed out.



My desktop computer is connected to my Motorola router/modem by Ethernet cable. On the port forwarding section of my router/modem page, I have this rule.



enter image description here



My laptop is not on the same network as my desktop machine. Using my laptop, how do I remotely connect to my desktop via SSH?







ssh port-forwarding





share












share










share



share










asked 7 mins ago









Username

2971415




2971415











  • Is the ssh server on 192.168.0.11 running? systemctl status sshd.service...
    – jasonwryan
    4 mins ago
















  • Is the ssh server on 192.168.0.11 running? systemctl status sshd.service...
    – jasonwryan
    4 mins ago















Is the ssh server on 192.168.0.11 running? systemctl status sshd.service...
– jasonwryan
4 mins ago




Is the ssh server on 192.168.0.11 running? systemctl status sshd.service...
– jasonwryan
4 mins ago















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477873%2fssh-connection-times-out-when-trying-to-remotely-connect-to-my-personal-computer%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477873%2fssh-connection-times-out-when-trying-to-remotely-connect-to-my-personal-computer%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?