- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to stop ssh service?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 03:58 PM
10-20-2005 03:58 PM
I want to stop the ssh service,how can I do?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 04:04 PM
10-20-2005 04:04 PM
Re: How to stop ssh service?
# ps -ef |grep -i sshd
# kill -9
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 04:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 04:09 PM
10-20-2005 04:09 PM
Re: How to stop ssh service?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 06:09 PM
10-20-2005 06:09 PM
Re: How to stop ssh service?
# /sbin/init.d/ssh stop
or kill sshd process ID
To permanetly stop ssh service then,
To go to your run level then remove startup script.
Example: run level 3
# cd /etc/rc3.d/
# rm -f *ssh*
Note: It is a link file to /sbin/init.d/ssh service so that you can add in future with link.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 06:22 PM
10-20-2005 06:22 PM
Re: How to stop ssh service?
# swremove $(swlist |grep -i "secure shell" |cut -f 1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 06:23 PM
10-20-2005 06:23 PM
Re: How to stop ssh service?
# swremove T1471AA
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 06:32 PM
10-20-2005 06:32 PM
Re: How to stop ssh service?
Do the following
#vi /etc/rc.config.d/sshd
change SSHD_START=1
to SSHD_START=0
now stop sshd
#/sbin/ssh/secsh stop
This will stop ssh starting automatically during system startup. But be informed that secure shell gives you more security than telnet.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 07:41 PM
10-20-2005 07:41 PM
Re: How to stop ssh service?
Temporary Stop:
a) /sbin/init.d/secsh stop
b) kill -9
Permanent Stop:
a) /etc/rc.config.d/sshd
SSHD_START=0
b) Remove run level script (/etc/r3.d/*secsh*)
c) Remove Secure Shell package
hth.