Created
November 9, 2021 18:48
-
-
Save dillera/682799582f556044fe2aff66a64058a3 to your computer and use it in GitHub Desktop.
RSE_SSD Vlads Fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vlad's SSHD RSE Fix, install & text | |
Nov 2021 | |
- | |
git checkout wip-testing | |
cd ~/rpmbuild | |
cp -r ~/code/sgug-rse/packages/openssh/* ~/rpmbuild/ | |
cd SPECS/ | |
rpmbuild --undefine=_disable_source_fetch -ba openssh.spec --nocheck | |
... | |
Provides: config(openssh) = 8.1p1-12.sgug.1 openssh = 8.1p1-12.sgug.1 openssh(mips-32) = 8.1p1-12.sgug.1 | |
Requires(interp): /usr/sgug/bin/sh | |
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 | |
Requires(pre): /usr/sgug/bin/sh | |
Requires: libc.so.1 libcrypto.so.1.1 libgcc_s.so.1 libgen.so libm.so libz.so.1.2.11 | |
Recommends: p11-kit | |
Processing files: openssh-clients-8.1p1-12.sgug.1.mips | |
warning: error reading build-id in /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips/usr/sgug/bin/ssh: no error | |
warning: error reading build-id in /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips/usr/sgug/bin/scp: no error | |
warning: error reading build-id in /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips/usr/sgug/bin/ssh-agent: no error | |
warning: error reading build-id in /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips/usr/sgug/bin/ssh-add: no error | |
warning: error reading build-id in /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips/usr/sgug/bin/ssh-keyscan: no error | |
warning: error reading build-id in /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips/usr/sgug/bin/sftp: no error | |
Provides: config(openssh-clients) = 8.1p1-12.sgug.1 openssh-clients = 8.1p1-12.sgug.1 openssh-clients(mips-32) = 8.1p1-12.sgug.1 | |
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 | |
Requires: /usr/sgug/bin/sh libc.so.1 libcrypto.so.1.1 libgcc_s.so.1 libgen.so libm.so libz.so.1.2.11 | |
Processing files: openssh-server-8.1p1-12.sgug.1.mips | |
warning: error reading build-id in /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips/usr/sgug/sbin/sshd: no error | |
warning: error reading build-id in /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips/usr/sgug/libexec/openssh/sftp-server: no error | |
Provides: config(openssh-server) = 8.1p1-12.sgug.1 openssh-server = 8.1p1-12.sgug.1 openssh-server(mips-32) = 8.1p1-12.sgug.1 | |
Requires(interp): /usr/sgug/bin/sh /usr/sgug/bin/sh /usr/sgug/bin/sh /usr/sgug/bin/sh | |
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 | |
Requires(pre): /usr/sgug/bin/sh | |
Requires(post): /usr/sgug/bin/sh | |
Requires(preun): /usr/sgug/bin/sh | |
Requires(postun): /usr/sgug/bin/sh | |
Requires: /usr/sgug/bin/sh libc.so.1 libcrypto.so.1.1 libgcc_s.so.1 libgen.so libm.so libz.so.1.2.11 | |
Checking for unpackaged file(s): /usr/sgug/lib/rpm/check-files /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips | |
Wrote: /usr/people/dillera/rpmbuild/SRPMS/openssh-8.1p1-12.sgug.1.src.rpm | |
Wrote: /usr/people/dillera/rpmbuild/RPMS/mips/openssh-8.1p1-12.sgug.1.mips.rpm | |
Wrote: /usr/people/dillera/rpmbuild/RPMS/mips/openssh-clients-8.1p1-12.sgug.1.mips.rpm | |
Wrote: /usr/people/dillera/rpmbuild/RPMS/mips/openssh-server-8.1p1-12.sgug.1.mips.rpm | |
Executing(%clean): /usr/sgug/bin/sh -e /usr/sgug/var/tmp/rpm-tmp.076835 | |
+ umask 022 | |
+ cd /usr/people/dillera/rpmbuild/BUILD | |
+ cd openssh-8.1p1 | |
+ /usr/sgug/bin/rm -rf /usr/people/dillera/rpmbuild/BUILDROOT/openssh-8.1p1-12.sgug.1.mips | |
+ RPM_EC=0 | |
+ jobs -p | |
+ exit 0 | |
dillera@fuel ~/rpmbuild/SPECS $ | |
---------------- | |
dillera@fuel ~/rpmbuild/SPECS $ ps -ef | grep ssh | |
root 742 1 0 Aug 07 ? 0:00 /usr/nekoware/sbin/sshd | |
dillera 76612 76627 0 17:46:06 ? 0:01 /usr/nekoware/sbin/sshd -R | |
root 76627 742 0 17:46:06 ? 0:00 /usr/nekoware/sbin/sshd -R | |
bash-5.0# ./neko_sshd stop | |
bash-5.0# /usr/sgug/bin/sgugshell | |
[sgugshell root@fuel init.d]# rpm -iUvh ~/usr/people/dillera/rpmbuild/RPMS/mips/openssh*.rpm | |
warning: package openssh-8.1p1-11.sgug.1.mips was already added, replacing with openssh-8.1p1-12.sgug.1.mips | |
warning: package openssh-clients-8.1p1-11.sgug.1.mips was already added, replacing with openssh-clients-8.1p1-12.sgug.1.mips | |
warning: package openssh-server-8.1p1-11.sgug.1.mips was already added, replacing with openssh-server-8.1p1-12.sgug.1.mips | |
Verifying... ################################# [100%] | |
Preparing... ################################# [100%] | |
Updating / installing... | |
1:openssh-8.1p1-12.sgug.1 warning: group ssh_keys does not exist - using sys | |
################################# [ 17%] | |
2:openssh-clients-8.1p1-12.sgug.1 ################################# [ 33%] | |
3:openssh-server-8.1p1-12.sgug.1 ################################# [ 50%] | |
Starting sshd:/etc/init.d/sgug-sshd[100]: Generating /usr/sgug/etc/ssh/ssh_host_ecdsa_key: : inaccessible or not found | |
/etc/init.d/sgug-sshd[100]: Generating /usr/sgug/etc/ssh/ssh_host_rsa_key: : inaccessible or not found | |
/etc/init.d/sgug-sshd[100]: Generating /usr/sgug/etc/ssh/ssh_host_ed25519_key: : inaccessible or not found | |
. | |
Cleaning up / removing... | |
4:openssh-server-8.1p1-11.sgug.1 ################################# [ 67%] | |
5:openssh-clients-8.1p1-11.sgug.1 ################################# [ 83%] | |
6:openssh-8.1p1-11.sgug.1 ################################# [100%] | |
[sgugshell root@fuel init.d]# ls -l |grep ssh | |
-rwxr-xr-x 1 root sys 1229 May 17 1998 neko_sshd | |
lrwxr-xr-x 1 root sys 30 Nov 7 21:56 sgug-sshd -> /usr/sgug/etc/init.d/sgug-sshd | |
[sgugshell root@fuel init.d]# ls -l /etc/rc* | grep ss | |
lrwxr-xr-x 1 root sys 19 May 17 1998 K02neko_sshd -> ../init.d/neko_sshd | |
lrwxr-xr-x 1 root sys 19 May 17 1998 S98neko_sshd -> ../init.d/neko_sshd | |
........... | |
dillera@trashcan ~ $ ssh -vvv fuel | |
OpenSSH_8.1p1, LibreSSL 2.7.3 | |
debug1: Reading configuration data /Users/dillera/.ssh/config | |
debug1: /Users/dillera/.ssh/config line 7: Applying options for * | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: /etc/ssh/ssh_config line 47: Applying options for * | |
debug1: auto-mux: Trying existing master | |
debug1: Control socket "/tmp/ssh-dillera@fuel:22" does not exist | |
debug1: Connecting to fuel port 22. | |
debug1: Connection established. | |
... | |
debug2: we sent a publickey packet, wait for reply | |
debug3: receive packet: type 60 | |
debug1: Server accepts key: /Users/dillera/.ssh/id_rsa RSA SHA256:GwcrADxsvI1nN3EIG5O6Z42MBiDqtVX/Bb6VloKo8eU | |
debug3: sign_and_send_pubkey: RSA SHA256:GwcrADxsvI1nN3EIG5O6Z42MBiDqtVX/Bb6VloKo8eU | |
debug3: sign_and_send_pubkey: signing using rsa-sha2-512 | |
debug3: send packet: type 50 | |
debug3: receive packet: type 52 | |
debug1: Enabling compression at level 6. | |
debug1: Authentication succeeded (publickey). | |
Authenticated to fuel ([192.168.251.42]:22). | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment