Results 1 to 2 of 2

Thread: sudo ssh starts two processes

  1. #1
    Join Date
    Apr 2012

    sudo ssh starts two processes

    I am running Windows 7 (64bit), VMware 4.0.2 and Ubuntu 11.10 (32bit).

    I use "sudo ssh" to set up a 'tunnel' of port 80 from another machine to mine.
    The command looks like this:
    sudo ssh -p 52000 -o ServerAliveInterval=30 -L my-machine-ip:80:target-machine-ip:80

    When I run ps -ef on my machine, I notice two SSH processes running under root. One is for 'sudo ssh' and the other is for just 'ssh'.

    Does anyone know what is causing this and how to correct it?

  2. #2
    Join Date
    Mar 2007
    Bedford, UK
    Ubuntu 6.10 Edgy

    Re: sudo ssh starts two processes

    Did you ever figure out why this it normal when you run a sudo command for a command it displays twice in the process list (ps -aux)

    From what I can see it is, the command "sudo nano" resulted in two processes being displayed.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts