Need help to set up home server - client network (RedHat 7)
I have very basic knowledge on networking. I recently purchased a Dell server to do my own development work. I have installed a RedHat Linux server. I am trying to set up a local server client set up.
Here is what I did.
- Connected the server and client computers to a router
- Assigned a static IP to ethernet2
Opened port 22 as below
firewall-cmd --zone=public --add-port=22/tcp --permanent
firewall-cmd --reload
Now I am trying to connect to this server through Putty from a Windows client machine. But I am getting a
connection timed out
error. What I am missing? Can someone help me to set it up?
I've never used RedHat before.
networking router webserver redhat-enterprise-linux
add a comment |
I have very basic knowledge on networking. I recently purchased a Dell server to do my own development work. I have installed a RedHat Linux server. I am trying to set up a local server client set up.
Here is what I did.
- Connected the server and client computers to a router
- Assigned a static IP to ethernet2
Opened port 22 as below
firewall-cmd --zone=public --add-port=22/tcp --permanent
firewall-cmd --reload
Now I am trying to connect to this server through Putty from a Windows client machine. But I am getting a
connection timed out
error. What I am missing? Can someone help me to set it up?
I've never used RedHat before.
networking router webserver redhat-enterprise-linux
You didn't mention whether ssh has been enabled on your Red Hat machine. Runsystemctl enable sshd
andsystemctl start sshd
– n8te
Dec 11 at 5:42
add a comment |
I have very basic knowledge on networking. I recently purchased a Dell server to do my own development work. I have installed a RedHat Linux server. I am trying to set up a local server client set up.
Here is what I did.
- Connected the server and client computers to a router
- Assigned a static IP to ethernet2
Opened port 22 as below
firewall-cmd --zone=public --add-port=22/tcp --permanent
firewall-cmd --reload
Now I am trying to connect to this server through Putty from a Windows client machine. But I am getting a
connection timed out
error. What I am missing? Can someone help me to set it up?
I've never used RedHat before.
networking router webserver redhat-enterprise-linux
I have very basic knowledge on networking. I recently purchased a Dell server to do my own development work. I have installed a RedHat Linux server. I am trying to set up a local server client set up.
Here is what I did.
- Connected the server and client computers to a router
- Assigned a static IP to ethernet2
Opened port 22 as below
firewall-cmd --zone=public --add-port=22/tcp --permanent
firewall-cmd --reload
Now I am trying to connect to this server through Putty from a Windows client machine. But I am getting a
connection timed out
error. What I am missing? Can someone help me to set it up?
I've never used RedHat before.
networking router webserver redhat-enterprise-linux
networking router webserver redhat-enterprise-linux
edited Dec 11 at 4:31
Blackwood
2,89561727
2,89561727
asked Dec 11 at 4:16
Thomson
61
61
You didn't mention whether ssh has been enabled on your Red Hat machine. Runsystemctl enable sshd
andsystemctl start sshd
– n8te
Dec 11 at 5:42
add a comment |
You didn't mention whether ssh has been enabled on your Red Hat machine. Runsystemctl enable sshd
andsystemctl start sshd
– n8te
Dec 11 at 5:42
You didn't mention whether ssh has been enabled on your Red Hat machine. Run
systemctl enable sshd
and systemctl start sshd
– n8te
Dec 11 at 5:42
You didn't mention whether ssh has been enabled on your Red Hat machine. Run
systemctl enable sshd
and systemctl start sshd
– n8te
Dec 11 at 5:42
add a comment |
1 Answer
1
active
oldest
votes
By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration
Here are some things you can check:
- Verify both server and the client are in the same network and they can ping each other.
If you thing it's a firewall related issue you can flush all rules with the following command and test again:
iptables -F
Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).
Waiting for your feedback.
New contributor
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382509%2fneed-help-to-set-up-home-server-client-network-redhat-7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration
Here are some things you can check:
- Verify both server and the client are in the same network and they can ping each other.
If you thing it's a firewall related issue you can flush all rules with the following command and test again:
iptables -F
Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).
Waiting for your feedback.
New contributor
add a comment |
By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration
Here are some things you can check:
- Verify both server and the client are in the same network and they can ping each other.
If you thing it's a firewall related issue you can flush all rules with the following command and test again:
iptables -F
Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).
Waiting for your feedback.
New contributor
add a comment |
By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration
Here are some things you can check:
- Verify both server and the client are in the same network and they can ping each other.
If you thing it's a firewall related issue you can flush all rules with the following command and test again:
iptables -F
Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).
Waiting for your feedback.
New contributor
By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration
Here are some things you can check:
- Verify both server and the client are in the same network and they can ping each other.
If you thing it's a firewall related issue you can flush all rules with the following command and test again:
iptables -F
Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).
Waiting for your feedback.
New contributor
New contributor
answered yesterday
camaleon
214
214
New contributor
New contributor
add a comment |
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382509%2fneed-help-to-set-up-home-server-client-network-redhat-7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
You didn't mention whether ssh has been enabled on your Red Hat machine. Run
systemctl enable sshd
andsystemctl start sshd
– n8te
Dec 11 at 5:42