element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Joey Thompson's Blog Raspberry Pi Tips and tricks
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: screamingtiger
  • Date Created: 13 Apr 2015 1:31 PM Date Created
  • Views 615 views
  • Likes 2 likes
  • Comments 2 comments
Related
Recommended

Raspberry Pi Tips and tricks

screamingtiger
screamingtiger
13 Apr 2015

Going to be adding to this as I come across them.

 

I am more of a command line person, so I like to SSH remotely into my RPi in order to do work over my lunch break from work.  This means I want to open up Port 22 on my RPi.

However, I recently opened up port 22 and within 1 day I noticed in my /var/log/auth.log I had numerous invalid login attempts.  There are people running scripts AKA "Script Kiddies" that going around probing random IP addresses for port 22, then it begins a brute force login attack.  It kept trying to login as root.  While they wont get it, it is draining my resources, filling up my logs, and hurting my latency to the internet.

 

There a couple of ways around this but I also ran into one other issue.  My work's network blocks outgoing SSH.  So I found a simple solution to solve both problems.  I put my SSH port on port 443.  Port 443 is reserved for HTTPS and it works!  Further, the script kiddies ignore that open port.  The only oddity you may have is in your auth.log you may see a message about an invalid protocol identifier.

 

You can see how to change the default SSH port by following this link.

http://linuxlookup.com/howto/change_default_ssh_port


  • Sign in to reply

Top Comments

  • fvan
    fvan over 10 years ago +1
    Yep, changing default ports and credentials are part of the first things I do when setting up a new Pi
Parents
  • fvan
    fvan over 10 years ago

    Yep, changing default ports and credentials are part of the first things I do when setting up a new Pi image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • fvan
    fvan over 10 years ago

    Yep, changing default ports and credentials are part of the first things I do when setting up a new Pi image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube