SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Formerly known as RockNRollPig Shpigford's Avatar
    Join Date
    Dec 2002
    Location
    Denver, CO
    Posts
    2,877
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Kill SSH tunnel?

    I'm doing the following to create an SSH tunnel:
    Code:
    ssh -fNg -L 8888:127.0.0.1:3306 user@123.456.789.0
    How can sort of "undo" that? I ask because I need to re-tunnel in to a different IP address but right now the only way I can figure to do it is to restart my computer (which is lame).

  2. #2
    secure webapps for all Aleksejs's Avatar
    Join Date
    Apr 2008
    Location
    Riga, Latvia
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    use
    Code:
    ps -ax
    to determine process id. And then use
    Code:
    kill process_id


Tags for this Thread

Bookmarks

Posting Permissions

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