- Update to version 1.8
* Added
+ ssh-last: like last but for SSH sessions
+ ssh-pwd: quickly echo path to use for scp, rsync
* Changed
+ ssh-facts:
- Bugfix for newer FreeBSDs
- Updated explorers from cdist
+ ssh-ping:
- Add new option -E which exits ssh-ping immediately after first successful ping
(can be used to trigger a follow up task like rsync)
- Add Tab Completion info into usage
- Bugfix for Debian Bug #998219 making the package build reproducible
+ all
- Shrink header comments
* Removed
+ all: Removed HashKnownHosts=no option
- changed upstream repository from github.com to codeberg.org
OBS-URL: https://build.opensuse.org/request/show/1161139
OBS-URL: https://build.opensuse.org/package/show/network:utilities/ssh-tools?expand=0&rev=4
76 lines
2.5 KiB
RPMSpec
76 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package ssh-tools
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: ssh-tools
|
|
Version: 1.8
|
|
Release: 0
|
|
Summary: A collection of various tools using ssh
|
|
License: GPL-3.0-or-later
|
|
Group: Productivity/Networking/SSH
|
|
URL: https://codeberg.org/vaporup/ssh-tools/
|
|
Source: https://codeberg.org/vaporup/ssh-tools/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: bash
|
|
## SECTION test requirements
|
|
#BuildRequires: ShellCheck
|
|
#BuildRequires: openssh
|
|
#BuildRequires: sshpass
|
|
## /SECTION
|
|
Requires: bash
|
|
Requires: openssh
|
|
Recommends: colordiff
|
|
Recommends: jo
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
A collection of various tools using ssh
|
|
The following tools are included
|
|
* ssh-ping: check if host is reachable using ssh_config
|
|
* ssh-last: like 'last' but for SSH sessions
|
|
* ssh-certinfo: shows validity and information of SSH certificates
|
|
* ssh-force-password: enforces password authentication
|
|
* ssh-keyinfo: prints keys in several formats
|
|
* ssh-hostkeys: prints server host keys in several formats
|
|
* ssh-facts: get some facts about the remote system
|
|
* ssh-diff: diff a file over SSH
|
|
* ssh-version: shows version of the SSH server you are connecting to
|
|
* ssh-pwd: quickly echo path to use for scp, rsync
|
|
* ssh-authorized-keys: collects info from authorized_keys files from every user it can find
|
|
* ssh-sig: make 'ssh-keygen -Y' easier to use
|
|
|
|
%prep
|
|
%autosetup -n %{name}
|
|
sed -i 's|#!%{_bindir}/env bash|#!/bin/bash|g' ssh-*
|
|
sed -i 's|#!%{_bindir}/env perl|#!/usr/bin/perl|g' ssh-*
|
|
|
|
%build
|
|
|
|
%install
|
|
install -D -m0755 -t %{buildroot}/%{_bindir}/ ssh-*
|
|
|
|
#%%check
|
|
# test disabled since it requires a network connection to an external system
|
|
#./test.sh
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc CHANGELOG.md
|
|
%{_bindir}/ssh-*
|
|
|
|
%changelog
|