LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-22-2008, 11:52 PM   #1
Syed Tarique Moin
LQ Newbie
 
Registered: Dec 2008
Posts: 13

Rep: Reputation: 0
Give access to your server via ssh


Dear Users,

I m using SUSE linux, i have set up my internet and routing etc. and I can access the other servers (outbound) via ssh. just like i want to give permission to other to access my servers via ssh.

Kindly give me idea how to do it.

Regards
 
Old 12-22-2008, 11:58 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Most likely the service is running and you will only need to open port 22 on the firewall. You should be able to do this through yast.

Check sshd is running while you are about it ("ps aux | grep ssh" as root)
 
1 members found this post helpful.
Old 12-22-2008, 11:59 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Have a look at man sshd (ssh deamon) and start it. You will probably also have to forward your ports on your router (assuming you are running a router).
 
1 members found this post helpful.
Old 12-23-2008, 12:59 AM   #4
Syed Tarique Moin
LQ Newbie
 
Registered: Dec 2008
Posts: 13

Original Poster
Rep: Reputation: 0
giving access to external

i used the command
ps auxps aux | grep ssh

and i got the following output
root 2928 0.0 0.0 56064 1296 ? Ss Jun05 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
zuh 3561 0.0 0.0 16232 552 ? Ss Jun05 0:10 /usr/bin/gpg-agent --sh --daemon --write-env-file /home/zuh/.gnupg/agent.info /usr/bin/ssh-agent /bin/bash /etc/X11/xinit/xinitrc
zuh 3562 0.0 0.0 49160 864 ? Ss Jun05 0:00 /usr/bin/ssh-agent /bin/bash /etc/X11/xinit/xinitrc
root 11337 0.0 0.0 5240 828 pts/7 R+ 04:17 0:00 grep ssh
| grep ssh
root 2928 0.0 0.0 56064 1296 ? Ss Jun05 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
zuh 3561 0.0 0.0 16232 552 ? Ss Jun05 0:10 /usr/bin/gpg-agent --sh --daemon --write-env-file /home/zuh/.gnupg/agent.info /usr/bin/ssh-agent /bin/bash /etc/X11/xinit/xinitrc
zuh 3562 0.0 0.0 49160 864 ? Ss Jun05 0:00 /usr/bin/ssh-agent /bin/bash /etc/X11/xinit/xinitrc
root 11337 0.0 0.0 5240 828 pts/7 R+ 04:17 0:00 grep ssh


sshd (daemon) is running.
 
Old 07-21-2011, 10:06 AM   #5
Jadedkill
LQ Newbie
 
Registered: Oct 2010
Location: Missouri
Distribution: CentOS, Gentoo
Posts: 17

Rep: Reputation: 0
SSH access

The 'man' pages are a great way to find useful information on this stuff you should check there first. If you have the sshd service running successfully (which you just showed you did) then you may need to check your local firewall on the server to ensure it is allowing inbound connections on port 22. There will be no need to forward any ports on your router as you should be able to use putty to access any hosted ssh servers via their hostnames. If you have a DNS server be sure you add host(A) entries to it for each ssh server you have to ensure they will be accessible via their hostname. If all of this is set up then you will need to create a generic user on the ssh server with a strong password and give it permission to access the server. If it does not have permission to do so then you will not be able to ssh into it. By default root has access but any other users will need to be granted this right. Have a look at the post below to help you out with this.

http://www.linuxquestions.org/questi...ot-user-96732/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH access problems: Can only allow users SSH access by adding to root group dhupke Slackware 10 12-21-2008 09:48 AM
Using DSL and ssh / ssh-server to access the Windoze desktop GUI On2ndThought Linux - Server 4 11-16-2008 02:17 PM
SSH feature existancs? give access to computer from behind a router. RadioactiveCheese Linux - Networking 2 10-17-2006 07:32 PM
limit access to SSH server by IP nick1 Suse/Novell 6 03-29-2005 04:36 PM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM


All times are GMT -5. The time now is 06:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration