Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > all things UNIX
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old October 2nd, 2012, 10:21 AM
mack_guy911's Avatar
mack_guy911 mack_guy911 is offline
Very Frequent Poster
 
Join Date: Mar 2007
Posts: 2,483
Default remove ssh-agent completely from ubuntu

how to remove or disable SSH-agent completely i dont use ssh at all so how to do this thanks in advance

also what are other remote-login options are installed in ubuntu default i want to disable/remove all other as well.
__________________
Scientific Linux 6.2, xubuntu 11.10 *2x, Linux mint 10, Linux mint 12, opensuse 11.4, windows vista, ubuntu 10.04 and windows xp
  #2  
Old October 2nd, 2012, 10:40 AM
chronomatic chronomatic is offline
Very Frequent Poster
 
Join Date: Apr 2009
Posts: 1,324
Default Re: remove ssh-agent completely from ubuntu

All that's installed by default is the SSH client (not the server). Thus there is no security issue here.

But if you really want to remove it:

Code:
sudo apt-get purge openssh-client

Last edited by chronomatic : October 2nd, 2012 at 11:46 PM.
  #3  
Old October 2nd, 2012, 11:56 AM
mack_guy911's Avatar
mack_guy911 mack_guy911 is offline
Very Frequent Poster
 
Join Date: Mar 2007
Posts: 2,483
Default Re: remove ssh-agent completely from ubuntu

very strange it install ssh-imported ....etc now i removed them completely from sypnatic manager.

here list smb remote desktop......etc





thanks very much

2 days ago i have strange chrome look like compiz problem same happen in firefox i guess both browser cant be hacked they show broken screen/green ping color on right click like what happen on compiz error

i clean all temp form bleachbit i was not using apparmor for chrome that time now i set if from you guys help



so i was worried if my system hacked or what so far its look clean i used rkhunter chkrootkit unhide.......also ssh no process showing ........last i need to check logs i am checking also i tried who command to see users login no one expect my user

and log dont show any wierd file i didnt see any wierd process running process so anything else


thanks again chronomatic for help
Attached Images
 
__________________
Scientific Linux 6.2, xubuntu 11.10 *2x, Linux mint 10, Linux mint 12, opensuse 11.4, windows vista, ubuntu 10.04 and windows xp
  #4  
Old October 2nd, 2012, 11:48 PM
chronomatic chronomatic is offline
Very Frequent Poster
 
Join Date: Apr 2009
Posts: 1,324
Default Re: remove ssh-agent completely from ubuntu

In my previpous post I said:

sudo apt-cache purge openssh-client.

That should have been:

sudo apt-get purge openssh-client

Sorry for any confusion!! It was late when I wrote it and I was half asleep!
  #5  
Old October 3rd, 2012, 02:03 AM
mack_guy911's Avatar
mack_guy911 mack_guy911 is offline
Very Frequent Poster
 
Join Date: Mar 2007
Posts: 2,483
Default Re: remove ssh-agent completely from ubuntu

yes no worry i got it i used

sudo apt-get purge openssh-client

instead of

sudo apt-cache purge openssh-client.

but it install ssh -imported id and ssh-krb5 so i removed them form sypnatic anyways problem solved now thanks again very much also your chrome tutorial for app armor is very very usefull thanks for it as well )
__________________
Scientific Linux 6.2, xubuntu 11.10 *2x, Linux mint 10, Linux mint 12, opensuse 11.4, windows vista, ubuntu 10.04 and windows xp
  #6  
Old October 3rd, 2012, 02:52 AM
ComputerSaysNo ComputerSaysNo is offline
Very Frequent Poster
 
Join Date: Aug 2012
Posts: 1,086
Default Re: remove ssh-agent completely from ubuntu

Quote:
Originally Posted by chronomatic
In my previpous post I said:

sudo apt-cache purge openssh-client.

That should have been:

sudo apt-get purge openssh-client

Sorry for any confusion!! It was late when I wrote it and I was half asleep!


Thanks for this. Very useful.
  #7  
Old October 3rd, 2012, 03:33 AM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,537
Default Re: remove ssh-agent completely from ubuntu

Additionally you can of course deny ssh service (port 22) with Gufw.
__________________
Ubuntu Kubuntu Xubuntu Scientific Linux
  #8  
Old October 3rd, 2012, 03:42 AM
chronomatic chronomatic is offline
Very Frequent Poster
 
Join Date: Apr 2009
Posts: 1,324
Default Re: remove ssh-agent completely from ubuntu

Quote:
Originally Posted by Ocky
Additionally you can of course deny ssh service (port 22) with Gufw.

Really no need since Ubuntu does not install the ssh-server by default. All it has is the client. The server is what listens (if installed).
  #9  
Old October 3rd, 2012, 05:49 AM
mack_guy911's Avatar
mack_guy911 mack_guy911 is offline
Very Frequent Poster
 
Join Date: Mar 2007
Posts: 2,483
Default Re: remove ssh-agent completely from ubuntu

thanks again

http://www.wilderssecurity.com/showt...=320017&page=8

yes also i tried your enabling sandbox of chrome (Seccomp-legacy sandbox) its very useful and easy you give it step by step instructions thanks again man links are very useful

http://rookcifer.blogspot.in/2012/09...untu-1204.html

@chronomatic


thanks ocky i disable it from ufw as well

i type

sudo ufw deny 22

or it should be

sudo ufw deny ssh

i guess both are same
__________________
Scientific Linux 6.2, xubuntu 11.10 *2x, Linux mint 10, Linux mint 12, opensuse 11.4, windows vista, ubuntu 10.04 and windows xp
  #10  
Old October 6th, 2012, 10:35 PM
BrandiCandi
 
Posts: n/a
Default Re: remove ssh-agent completely from ubuntu

Quote:
Originally Posted by mack_guy911
how to remove or disable SSH-agent completely i dont use ssh at all so how to do this thanks in advance

also what are other remote-login options are installed in ubuntu default i want to disable/remove all other as well.
There are no daemons (aka servers) running by default as others said. The default installation includes remote desktop and ssh clients. If you don't want the remote desktop client running that can easily be uninstalled as well. Use synaptic package manager, the software center, or command line.
  #11  
Old October 7th, 2012, 01:33 AM
ComputerSaysNo ComputerSaysNo is offline
Very Frequent Poster
 
Join Date: Aug 2012
Posts: 1,086
Default Re: remove ssh-agent completely from ubuntu

Quote:
Originally Posted by BrandiCandi
There are no daemons (aka servers) running by default as others said. The default installation includes remote desktop and ssh clients. If you don't want the remote desktop client running that can easily be uninstalled as well. Use synaptic package manager, the software center, or command line.

In terminal how do you remove remote desktop?
  #12  
Old October 7th, 2012, 09:13 AM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,537
Default Re: remove ssh-agent completely from ubuntu

Quote:
Originally Posted by ComputerSaysNo
In terminal how do you remove remote desktop?
If you have dconf tools pkg. installed you can launch the dconf editor and tick the approriate box or on command line...I think..
dconf write /desktop/gnome/remote-access/enabled false

Have never had remote desktop configured so am not really sure.
__________________
Ubuntu Kubuntu Xubuntu Scientific Linux
  #13  
Old October 7th, 2012, 11:04 AM
mack_guy911's Avatar
mack_guy911 mack_guy911 is offline
Very Frequent Poster
 
Join Date: Mar 2007
Posts: 2,483
Default Re: remove ssh-agent completely from ubuntu

remote access is disable by default the package name is Remmina

http://en.wikipedia.org/wiki/Remmina

please see my screenshot above you see 3 packages i use sypnatic package manager its

easy to use just search remote desktop you see all 3 also you can search them one by one from screenshot names
__________________
Scientific Linux 6.2, xubuntu 11.10 *2x, Linux mint 10, Linux mint 12, opensuse 11.4, windows vista, ubuntu 10.04 and windows xp
  #14  
Old October 9th, 2012, 12:11 AM
BrandiCandi
 
Posts: n/a
Default Re: remove ssh-agent completely from ubuntu

I'm in windows right now so I can't check, but the remote desktop package is called rdesktop. If you want to find it in terminal type
Code:
dpkg -l | rdesktop*
That will give you all the associated parts.
  #15  
Old October 10th, 2012, 12:12 AM
ComputerSaysNo ComputerSaysNo is offline
Very Frequent Poster
 
Join Date: Aug 2012
Posts: 1,086
Default Re: remove ssh-agent completely from ubuntu

I removed it via software center so all good!
 

Wilders Security Forums > Software, Hardware and General Services > all things UNIX « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:16 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums