LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-07-2019, 06:43 PM   #1
Nick-us
Member
 
Registered: Feb 2019
Distribution: Slackware64-Current
Posts: 65

Rep: Reputation: 8
Question Simple question or not? About SHA256


When you first start Slackware64 it shows you this information about SHA256.
I'm a beginner, so forgive me if I'm talking bullshit.

I understand this is for those who use SSH. Which is not my case at the moment.

If it's SSH only, I'll find a way to remove these packages from my Slackware installation.

Does anyone know better what it is and what is it for?
My goal with this is to reduce in my slackware only packages that I use. So I always remove slowly what does not interest me.

Picture of what I am saying
https://oi890.photobucket.com/albums...6.png~original
 
Old 09-07-2019, 07:22 PM   #2
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Those are the OpenSSH key pairs generated on a fresh install by Slackware.
You can also create them manually, clean the existent ones and run:
Code:
/usr/bin/ssh-keygen -A
Man page:
http://man7.org/linux/man-pages/man1/ssh-keygen.1.html

If you don't need OpenSSH, don't delete it, it's not that big, instead, just disable it, stop it and remove the exec bit from /etc/rc.d/rc.sshd
Code:
/etc/rc.d/rc.sshd stop
chmod -x /etc/rc.d/rc.sshd
P.S. Missed this one, I'm tired...
Quote:
My goal with this is to reduce in my slackware only packages that I use. So I always remove slowly what does not interest me.
Unless you try to squeeze Slackware in a limited storage capacity (I'm doing it for a system with only 8GB old PATA flash) and you know what you're doing - that's know the packages and their dependencies - I strongly advise you to refrain from uninstalling packages based on your own needs & preferences. You might end up breaking your system (likely). Even if all the packages Slackware comes with are installed, they just use your storage space and won't put any load on the system if not launched.

Last edited by abga; 09-07-2019 at 07:40 PM. Reason: P.S.
 
2 members found this post helpful.
Old 09-07-2019, 10:06 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
Does anyone know better what it is and what is it for?
This is part of the SSH key generation that is used for the system's fingerprint. The fingerprint is used when client SSH systems connect. Should the fingerprint change, the SSH client will warn users. A basic security precaution.

Quote:
My goal with this is to reduce in my slackware only packages that I use. So I always remove slowly what does not interest me.
If this is a production system, then abga's caution is reasonable advice.

With respect to SSH, if this system is unique and never will be remotely accessed, then yes, the SSH package could be removed.

If this system will be a server, then certain package groups could be removed or not installed, such as /x, /xap, /kde[i]. If the system will be a server, the odds are overwhelming that one day remote access will be desirable and that means SSH.

If this system is not a production system then break away. Just have fun exploring. There are several threads in this forum discussing "minimal installations" of Slackware.

A painless method is test various minimal installations in a virtual machine. Take a snapshot, remove some packages, and look for breakage. If the breakage is excessive, then restore the snapshot and begin again.
 
1 members found this post helpful.
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone knows how to set HMAC-SHA256 for web server? caowenqq Linux - Server 2 09-21-2015 07:51 AM
Openswan does not connect when using sha256 (RHEL 6.2) jewelthief Linux - Networking 0 03-23-2013 08:45 PM
Checking ISO with SHA256 on XP oldgot Linux - Newbie 3 10-08-2009 11:47 PM
freebsd-update problem sha256 burnticarus *BSD 3 12-18-2008 10:33 PM
sha256 not working on Linux 64 bit system sjain Programming 1 05-28-2008 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration