How can I manage ports from terminal?

I'm trying to troubleshoot some issues i've been having using ssh with my two laptops. I'm getting a port 22 error and I would like to establish a customized setting that doesn't involve opening up these popular ports like 22. I'm trying to diagonse these problems every way I can but if I new how to manage this from the command line it would make things so easier. I would like to know how to open, close, view status, etc. of ports. Can anyone help?

There aren't any utilities to directly control ports because ports are a logical construct, they don't really exist.  There are programming constructs to control ports, which are used inside programs to associate a server to a port and register that association with the OS.
For most programs, there are configuration files that can be edited to change various program parameters, including to what port the server listens.
SSH has configuration files for both the server and the client, at both the system and user profile levels.
You'd be better off giving more detail about what issues you are having.  You might also (or additionally) try running your SSH commands with the -v, -vv, -vvv or -vvvv switches, which will cause increasing levels of verbosity to be printed to stdout...which can be very useful for troubleshooting.

Similar Messages

  • How to Change the Default SSH Port from Terminal ? now showing default SSH Port 22 i need change it pls help me how can do

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

  • How to Change the Default SSH Port from Terminal ?

    How to Change the Default SSH Port from Terminal ?

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

  • How can I open ports on my AirPort Extreme, from WINDOWS?

    I have an Airport Extreme as my router, and I have a Windows-based computer. I need to open ports on the router (ironically, it is for my Apple TV).
    However, even though I can use the Airport Utility for Windows (latest version 5.5.3), I cannot open ports from the application.
    Everywhere I look, I am supposed to have a firewall tab in the Advanced section, but I do not have it. The only tabs that I have in Advanced are:
    Logging and Statistics
    MobileMe
    IPv6
    How can I open ports on my Airport Extreme router from Windows?

    Is your AirPort Extreme the only router in your network configuration?

  • HT1597 How can I STOP iTunes from automatically trying to add podcasts to my iPod when I plug it in and sync it, so I can manage the files? I have already unchecked "Sync Podcasts" and "Automatically include,"yet EVERY time I sync it,it still transfers po

    How can I STOP iTunes from automatically trying to add podcasts to my iPod when I plug it in and sync it, so I can manage the files? I have already unchecked "Sync Podcasts" and "Automatically include,"yet EVERY time I sync it,it still transfers podcasts as the last step, and at other times randomly, when trying to just add some MP3's to a playlist, for example.  I can't seem to find any other option to uncheck, and can't find an answer from my so-far internet searching.

    erict, you blew me away with that suggestion! It was something so simple I couldnt believe I hadnt thought of it! But in the end it didn't work, which I was really surprised about. On Windows anytime anything was moved itunes was hoplessly lost, but on this mac it still kept up with everything. I tried renaming folders, moving folders, and even renaming moved folders but it still kept trying to import.
    I even went as far as deleting EVERYTHING i had moved to the Mac, which didnt really work. It still kept trying to import what wasnt there which made it continue to freeze up. However, after doing this it, the freezing was not nearly as bad. It gave me enough of a break to cancel it through the itunes dialog box at the top of the app. So in the end, thats all I really needed to do, only before I had deleted everything the freezing would not allow me to do it.
    So now Im reimporting everything again, only slowly, and only a few Artists at a time.

  • I want to link from Acrobat to a certain place in an .mp3-file. How can I manage this?

    Hello, recently I interviewed one of my kin. The result is a huge audio transkription in Word 2010 (which I converted to .pdf / Acrobat 10). Now I want people who read my audio transcription with biographical details about my father, whom I interviewed, to be able to jump to the spot in the interview record, where he says "in the year 1234 there happened blablabla", if there stands "in the year 1234 there happened, etc." in the PDF. The link shall be placed underneath the rownumbers at the left border of the document.
    The problem: Until now I can only link to files like NiceAudioFile.mp3 or GreatInterview.wav or TheBestBiography.flac, but not to a certain time mark inside of it without the need to do a fast forward.
    How can I manage it, that the mp3 opens up in the middle / at the end / anywhere I want it to?
    Thank you for good advices in advance ...
    Yours Holger

    Insert the audio clip as a rich media annotation using the Multimedia>Add Sound tool in Acrobat
    Create your link and on the Link Action area use "custom link".
    In the popup which appears, open the Actions tab and choose "Multimedia operation (Acrobat 9 and later)"
    Click add, and make sure your audio file is targeted.
    On the bottom of the dialog choose "Seek to time..." and enter the time in seconds you wish to play from in the blank input field at the bottom
    Click OK twice to close the dialogs.

  • I have a router that has a readyshare USB storage access port that has mp4's of movies. So how can I view them from my iPad 2 ?

    I have a router that has a readyshare USB storage access port that has mp4's of movies. So how can I view them from my iPad 2 ?

    I just bought a NETGEAR WNDR3400v2". 
    I own a mac, running 10.7 and an ipad 1.
    I can access my USB stick, on the netgear wireless router, from my mac or ipad.
    From a mac or ipad .... http://readyshare.routerlogin.net/shares/USB_Storage/    or  just http://readyshare.routerlogin.net/shares
    Also,   on a mac only, try, go > connect to server> smb://readyshare
    Works for me!

  • How can i launch application from the terminal in 32-bit mode?

    how can i launch application from the terminal in 32-bit mode?
    everytime i have to check and uncheck the finder's info panel and it's really annoying, thanks!

    ''Courtesy of cor-el''
    https://support.mozilla.com/en-US/questions/823873
    Other users should note that Firefox has public release versions of 64bit only for Mac And Linux; not for Windows, yet.

  • How can i manage my photo from pc so i can delete them

    how can i manage my photo from pc so i can delete them

    Hello georgiovani,
    Thanks for using Apple Support Communities.
    If you are using Photo Stream on your Windows PC, you can delete items from your Photo Stream by following the directions outlined below.
    On your Windows PC
    In iCloud for Windows, select iCloud Photos from the Start menu. In iCloud Control Panel, select Photos from the Start menu.
    Double-click My Photo Stream.
    Select the photo or photos you want to delete.
    Right-click and select Delete.
    Delete photos from My Photo Stream - Apple Support
    Take care,
    Alex H.

  • How can I download books from my library

    how can I download books from my library

    To load or delete a WMA or MP3 book onto an Apple mobile device do the following.
    1. For Windows versions, you must first do a security update of Windows Media Player (even though you won't be using it) using Internet Explorer at http://drmlicense.one.microsoft.com/indivsite .
    2.  Open iTunes, plug the mobile device into the computer USB port and open the Overdrive Media Console.
    3. Highlight the mobile device in the left hand menu of iTunes and insure the "Manually manage music and videos" box is checked in the Summary Tab.
    4. Highlight the book you want to transfer in the Overdrive Media Console and click the Transfer Button.   A window opens permitting you to click the boxes for parts of the book you wish to transfer.
    5. After the book has been transfered, when you click the disclosure triangle (arrow) to the left of the iPod, iPhone, or iPad in the Device section of the left hand menu of iTunes, MP3 books will show up under the Music subsection and WMA books will show up in the Books subsection.  Once the mobile device is disconnected from iTunes, MP3 books will show up in the Songs list and WMA books will show up in the Books list.
    6. To remove a book from a mobile device plug the device into the USB port and open iTunes. Click the disclosure triangle to the left of your iPod, iPhone, or iPad in the Device section of the left hand menu of iTunes so that you can see the device’s subcontents. For an MP3 book select the Music subsection, right click on the book and choose Delete.  For a WMA book, select the Book subsection, right click on the book and choose Delete.

  • How can I transfer apps from one iTunes library to another?

    How can I transfer apps from one iTunes library to another? My daughter has an iTouch, and I was managing it through my library. I have created an iTunes account for her, with a new iTouch, and would like to move the apps over. I tried to sync the old iTouch to the new library and it said it was already set up to sync with a different library. What is the best way to do this?

    You can transfer iTunes purchases by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    To make the new computer the syncing computer you have to:
    - Transfer iTunes purchases lIke I described above
    - Make a backup of the iPod on that computer by connecting the iPod and then right-clicking on the iPod under Devices in iTunes and selecting Back Up.
    - Restore the iPOd from that backup
    She will have to continue to use your iTunes ID to update the apps prchased with your account. To use her account she will have to log into the computer with her account (iTunes>Store) and change the sign in on the iPod by going to Settings>Store.

  • How can I send email from my yahoo alias account in iPhone5 mail?

    How can I send email from my yahoo alias account in iPhone5 mail?
    I have 2 email accounts: [email protected] is an alias of [email protected]
    In my old iPhone3 I had these accounts set up so that I could send and receive email from both accounts. I did this using the following settings:
    ‘Other’ POP account info:
    Name: xyz
    Address: [email protected]
    Description: alias
    Incoming mail server:
    Host name: pop.mail.yahoo.com
    User name: [email protected]
    Password: password for yahoo account
    Server port: 995
    Outgoing mail server:
    SMTP: smtp.o2.co.uk (o2 is the name of my phone network)
    Server port: 25
    ‘Yahoo!’ account info:
    Name: xyz
    Address: [email protected]
    Password: password for yahoo account
    Description: Yahoo!
    Outgoing mail server:
    Primary server: Yahoo! SMTP server
    Server port: 465
    I’ve tried using the same settings in my new iPhone5, but it doesn’t work. I can receive mail to both accounts, and can send from the Yahoo account, but I cannot send mail from the alias account. When I try, it displays the message: “Cannot send mail. A copy has been placed in your Outbox. The recipient ‘[email protected]’ was rejected by the server”.
    I’ve tried to configure the POP alias account using combinations of ‘pop.mail.yahoo.com’, ‘pop.mail.yahoo.co.uk’, ‘apple.pop.mail.yahoo.co.uk’ and ‘apple.pop.mail.yahoo.com’, for the incoming host, and ‘smtp.o2.co.uk’, ‘smtp.mail.yahoo.com’, ‘smtp.mail.yahoo.co.uk’, ‘apple.smtp.mail.yahoo.com’ and ‘apple.smtp.mail.yahoo.co.uk’ for the outgoing mail server. None of these have worked.
    I’ve also tried setting it up using IMAP instead of POP without success. I tried configuring it using combinations of ‘imap.mail.yahoo.com’, ‘apple.imap.mail.yahoo.com’, ‘imap.mail.yahoo.co.uk’ and ‘apple.imap.mail.yahoo.co.uk’ for the incoming mail server and ‘smtp.o2.co.uk’, ‘smtp.mail.yahoo.com’, ‘smtp.mail.yahoo.co.uk’, ‘apple.smtp.mail.yahoo.com’ and ‘apple.smtp.mail.yahoo.co.uk’ for the outgoing mail server.
    Yahoo say that if I can't send Yahoo! Mail from my mail program, I may be accessing the Internet through an ISP that is blocking the SMTP port, and that if this is the case, I should try setting the SMTP port number to 587 when sending email via Yahoo!'s SMTP server. I don't think that this is the problem, but I tried it just to make sure - without success.
    I’ve also heard that the problem might have something to do with the SPF settings of my alias domain provider. I’m not too sure exactly what SPF settings are, or how to change them, but from what I can gather it seems unlikely that this is the problem given that I was able to send mail from my alias account on my old iPhone3.
    Any help much appreciated: how can I get my alias account to send emails in iPhone5 mail?
    Many thanks,
    Patrick

    A new development: I've tried sending emails from the alias several times over the past 24 hours, but in general I've deleted them if they haven't sent within about half an hour.
    However, one of the messages I left sitting in the outbox did send successfully in the end, but this took about an hour.
    So: perhaps my problem is not in fact that I am completely unable to send mail from my alias, but that I can only do so intermittently and extremely slowly, and by ignoring the "cannot send" message.
    Any help appreciated.

  • How can I stop Firefox from opening (to "File Not Found") when opening my Opera browser?

    Ever since I installed Opera 10.61 on my new computer (Windows 7 Ultimate operating system), whenever I open Opera, Firefox opens one second later with the following error message:
    '''File not found '''
    Firefox can't find the file at /C:/Users/Nasheed/AppData/Local/Opera/Opera/temporary_downloads/client-en.xml.
    * Check the file name for capitalization or other typing errors.
    * Check to see if the file was moved, renamed or deleted.
    TRY AGAIN.
    <nowiki>****************************************************</nowiki><br />
    This happens EVERY TIME I OPEN THE OPERA BROWSER. How can I stop this from happening? I'm stumped.
    [EXTRA INFO - I was unable to enable Firefox to access my previous profile on the new computer (despite putting the old profile in the appropriate Mozilla Firefox folder. So, there are now two profiles in that location.
    After reading the answer to another forum member's question, I attempted to resolve the problem using Profile Manager, but I was unable to locate the Profile Manager. The Windows "Search" feature is not enabled on my new computer (nor can it be enabled from the Customize Start Menu options).]

    Thank you for your response, Cor-el.
    I had Opera set as my default browser since this began happening. I changed my default browser back to Firefox mainly because having Firefox open one or two seconds every time I open Opera was/is such a nuisance.
    I believe this problem began because I attempted to manually transfer the files from my old computer to the new one (via the backed up files in my external drive). I was unfamiliar with Windows 7 when I did this. Microsoft changed the file set up from what I had been used to in Windows XP. I used XP for six years before being exposed to Windows 7 (I never had Vista).
    I'm almost sure this problem has something to do with where I placed the application data when I was trying to reestablish the program set up on the new computer.

  • How can I delete music from my iPad Air other than by one song at a time? I am still on iOS 7.

    How can I delete music from my iPad Air other than one song at a time? I would like to delete a few albums.  I am still on iOS 7.

    You can either sync the iPhone and iPad to a computer that has your music on it and make sure the U2 album is not on the computer. Or you can delete all of the music from both devices (settings > general > usage > manage storage > music. Then redownload your music from your purchase history on the iTunes store
    Also the U2 album is attached to your apple id. To remove it, you will need to go here ---> https://itunes.com/soi-remove

  • I have playlists on my original iPod but are not in the library.  How can I move them from the iPod to the library?

    I have playlists on my original iPod but are not in the library.  How can I move them from the iPod to the library?

    She can choose to either enable the setting on her iPod to Manually manage music and videos.  With setting enabled she can sync content to her iPod from multiple computers without it affecting whats already stored her iPod. For more information on syncing content to an iPod manually see this article. 
    http://support.apple.com/kb/ht1535
    However, I would recommend copying whats on her iPod to her iTunes library first.  There are several ways to accomplish this.  See this older post from another forum member Zevoneer discussing the different ways to do it.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

Maybe you are looking for

  • Problem with path (which contain spaces)

    Hi, Im having problems when I use getAbsolutePath() method when the path contains spaces, like "c:\Program Files" my app have a different behavior if its installed in a path like C:\myApp\ The troubles occurs when I try to create a directory and crea

  • [SOLVED] Openbox 3.5 don't show menu icons

    Hi all, i don't speak english very well i try to add icons on my Openbox menu i added this string <showIcons>yes</showIcons> in the <menu> section of rc.xml file after i went to edit menu.xml i tried: <menu id="apps-accessori-menu" label="Accessori"

  • Regarding new cost center

    HI my problem is untill now i used old cost center, to day onwards i want use new cost center... how to modify in my cost element in cost center. i want to modify my old cost center and put new cost center. Thank you. Ashok kumar

  • Dom parsing -- ruturning null?

    when trying to parse an xml file using DocumentBuilder.parse, i dont get any exceptions, it just returns null. I wrote a succinct Test class to debug and still cannot find the problem. below is the output, and the method i wrote. thanx for your help:

  • When notification is put in process, How to send automatic mail

    Hi All, When the Maintenance notification is put in process, a mail has to be sent with the notification Number to Business / Mainteannce people's mail address. Is this possible through configurations,action box, workflow or by means of exit ??? Plea